core: fix mispelled argument

This commit is contained in:
souliane 2014-02-18 14:33:35 +01:00
commit 7d7d205159

View file

@ -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"""