Check our own (echoed) msgids

This commit is contained in:
jesopo 2019-06-21 10:47:39 +01:00
parent 1f2817c366
commit 42f56a3309

View file

@ -9,8 +9,11 @@ class Module(ModuleManager.BaseModule):
channel.set_setting("last-msgid", msgid) channel.set_setting("last-msgid", msgid)
@utils.hook("received.message.channel") @utils.hook("received.message.channel")
@utils.hook("send.message.channel")
@utils.hook("received.notice.channel") @utils.hook("received.notice.channel")
@utils.hook("send.notice.channel")
@utils.hook("received.tagmsg.channel") @utils.hook("received.tagmsg.channel")
@utils.hook("send.tagmsg.channel")
def on_channel(self, event): def on_channel(self, event):
self._on_channel(event["channel"], event["tags"]) self._on_channel(event["channel"], event["tags"])