fix wrong var name. Fixes #5827

This commit is contained in:
Yann Leboulanger 2010-07-30 16:42:51 +02:00
parent 84982aaf30
commit 88c84e26f4
1 changed files with 2 additions and 2 deletions

View File

@ -2320,7 +2320,7 @@ ConnectionCaps, ConnectionHandlersBase, ConnectionJingle):
class HelperEvent:
def get_jid_resource(self):
if self.id_ in self.conn.groupchat_jids:
who = self.conn.groupchat_jids[self.id_]
self.fjid = self.conn.groupchat_jids[self.id_]
del self.conn.groupchat_jids[self.id_]
else:
self.fjid = helpers.get_full_jid_from_iq(self.iq_obj)
@ -2574,4 +2574,4 @@ class RosterItemExchangeEvent(nec.NetworkIncomingEvent, HelperEvent):
self.exchange_items_list[jid].append(name)
self.exchange_items_list[jid].append(groups)
if exchange_items_list:
return True
return True