fix bug in presence handling

This commit is contained in:
+++ 2020-07-26 17:34:07 +02:00
parent 9d471b2c5b
commit 8103f172b5

View file

@ -112,7 +112,7 @@ class IdleBot(slixmpp.ClientXMPP):
self.join_room(room)
else:
if nick in self.room_roster[room]:
sel.room_roster[room].remove(nick)
self.room_roster[room].remove(nick)
logging.debug('Roster: {}'.format(self.room_roster))
def reconnect(self, event):