diff --git a/src/core/sat_main.py b/src/core/sat_main.py index 81f1dd44..9864996e 100644 --- a/src/core/sat_main.py +++ b/src/core/sat_main.py @@ -607,7 +607,7 @@ class SAT(service.Service): self.profiles[profile].presence.unsubscribed(to_jid) def _addContact(self, to_jid_s, profile_key): - return self.addContact(jid.JID(to), profile_key) + return self.addContact(jid.JID(to_jid_s), profile_key) def addContact(self, to_jid, profile_key): """Add a contact in roster list"""