From 8103f172b53ead2df83dbc549c68a0bfc457f52e Mon Sep 17 00:00:00 2001 From: +++ Date: Sun, 26 Jul 2020 17:34:07 +0200 Subject: [PATCH] fix bug in presence handling --- idlebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idlebot.py b/idlebot.py index 2688e5a..cd46cf3 100644 --- a/idlebot.py +++ b/idlebot.py @@ -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):