Fix undefined variable in buddy.py
This commit is contained in:
parent
9434b1db6f
commit
40131a06eb
2
buddy.py
2
buddy.py
|
@ -123,7 +123,7 @@ class BuddyList(dict):
|
|||
else:
|
||||
self.session.sendSync([number], delta = True, interactive = True)
|
||||
self.session.subscribePresence(number)
|
||||
self.session.requestStatuses(contacts, success = self.onStatus)
|
||||
self.session.requestStatuses([number], success = self.onStatus)
|
||||
buddy = Buddy(self.owner, number, nick, "", groups, image_hash)
|
||||
self[number] = buddy
|
||||
self.logger.debug("Roster add: %s", buddy)
|
||||
|
|
Loading…
Reference in a new issue