changeset 846:59d486726577

core: fix mispelled argument
author souliane <souliane@mailoo.org>
date Tue, 18 Feb 2014 14:33:35 +0100 (2014-02-18)
parents 519e7f79729b
children 071524bfcc7d
files src/core/sat_main.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/core/sat_main.py	Mon Feb 17 19:23:13 2014 +0100
+++ b/src/core/sat_main.py	Tue Feb 18 14:33:35 2014 +0100
@@ -607,7 +607,7 @@
             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"""