sent messages should mark channels 'active'
This commit is contained in:
parent
8fde17a971
commit
73371b5571
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
channel.send_part("Channel inactive")
|
channel.send_part("Channel inactive")
|
||||||
self._del_timestamp(channel)
|
self._del_timestamp(channel)
|
||||||
|
|
||||||
|
@utils.hook("send.message.channel")
|
||||||
@utils.hook("received.message.channel")
|
@utils.hook("received.message.channel")
|
||||||
def channel_message(self, event):
|
def channel_message(self, event):
|
||||||
self._set_timestamp(event["channel"])
|
self._set_timestamp(event["channel"])
|
||||||
|
|
Loading…
Reference in a new issue