we shouldn't be setting seen-info on every channel per each channel message

This commit is contained in:
jesopo 2019-12-04 10:34:34 +00:00
parent b889a9f841
commit 269489b583

View file

@ -15,8 +15,7 @@ class Module(ModuleManager.BaseModule):
line = event["minimal"] or event["line"]
if not event["server"].is_own_nickname(event["user"].nickname):
for channel in event["user"].channels:
self._change_seen(channel, event["user"], line)
self._change_seen(event["channel"], event["user"], line)
@utils.hook("received.command.seen", min_args=1)
def seen(self, event):