only check muc offline messages

This commit is contained in:
Thorsten
2015-12-27 10:53:28 +01:00
parent 3767263b49
commit f411480cdc

View File

@@ -61,6 +61,7 @@ class IdleBot(ClientXMPP):
return True
def muc_offline(self, msg_obj):
if 'muc' in msg_obj.values:
room = msg_obj.values['muc']['room']
user = msg_obj.values['muc']['nick']
if user == config.conf_get('bot_nickname'):