fix wrong var name. Fixes #5827
This commit is contained in:
parent
84982aaf30
commit
88c84e26f4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue