Commit 995ade8a authored by Philipp Hörist's avatar Philipp Hörist

Only log for GC Message for one account

parent 1a0b7ee1
......@@ -1155,6 +1155,8 @@ class ConnectionHandlersBase:
return True
def _nec_gc_message_received(self, obj):
if obj.conn.name != self.name:
return
if app.config.should_log(obj.conn.name, obj.jid) and not \
obj.timestamp < obj.conn.last_history_time[obj.jid] and obj.msgtxt and \
obj.nick:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment