we shouldn't be setting seen-info on every channel per each channel message
This commit is contained in:
parent
b889a9f841
commit
269489b583
1 changed files with 1 additions and 2 deletions
|
@ -15,8 +15,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
line = event["minimal"] or event["line"]
|
line = event["minimal"] or event["line"]
|
||||||
|
|
||||||
if not event["server"].is_own_nickname(event["user"].nickname):
|
if not event["server"].is_own_nickname(event["user"].nickname):
|
||||||
for channel in event["user"].channels:
|
self._change_seen(event["channel"], event["user"], line)
|
||||||
self._change_seen(channel, event["user"], line)
|
|
||||||
|
|
||||||
@utils.hook("received.command.seen", min_args=1)
|
@utils.hook("received.command.seen", min_args=1)
|
||||||
def seen(self, event):
|
def seen(self, event):
|
||||||
|
|
Loading…
Reference in a new issue