comparison src/core/sat_main.py @ 846:59d486726577

core: fix mispelled argument
author souliane <souliane@mailoo.org>
date Tue, 18 Feb 2014 14:33:35 +0100
parents 2d901b7fa861
children c2f6ada7858f
comparison
equal deleted inserted replaced
845:519e7f79729b 846:59d486726577
605 self.profiles[profile].presence.unsubscribe(to_jid) 605 self.profiles[profile].presence.unsubscribe(to_jid)
606 elif subs_type == "unsubscribed": 606 elif subs_type == "unsubscribed":
607 self.profiles[profile].presence.unsubscribed(to_jid) 607 self.profiles[profile].presence.unsubscribed(to_jid)
608 608
609 def _addContact(self, to_jid_s, profile_key): 609 def _addContact(self, to_jid_s, profile_key):
610 return self.addContact(jid.JID(to), profile_key) 610 return self.addContact(jid.JID(to_jid_s), profile_key)
611 611
612 def addContact(self, to_jid, profile_key): 612 def addContact(self, to_jid, profile_key):
613 """Add a contact in roster list""" 613 """Add a contact in roster list"""
614 profile = self.memory.getProfileName(profile_key) 614 profile = self.memory.getProfileName(profile_key)
615 assert(profile) 615 assert(profile)