mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-27 19:19:54 +00:00
fixed bug #7 -- muc roster leak
This commit is contained in:
parent
0fc9072e5d
commit
ec97c351de
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ class xep_0045(base.base_plugin):
|
|||
return
|
||||
entry = pr['muc'].getValues()
|
||||
if pr['type'] == 'unavailable':
|
||||
self.rooms[entry['room']][entry['nick']] = None
|
||||
del self.rooms[entry['room']][entry['nick']]
|
||||
else:
|
||||
self.rooms[entry['room']][entry['nick']] = entry
|
||||
logging.debug("MUC presence from %s/%s : %s" % (entry['room'],entry['nick'], entry))
|
||||
|
|
Loading…
Reference in a new issue