Only send +draft/delivered
and +draft/read
on private message
This commit is contained in:
parent
ed99d66163
commit
4e7bfee3a6
1 changed files with 0 additions and 2 deletions
|
@ -6,9 +6,7 @@ DELIVERED_TAG = "+draft/delivered"
|
||||||
|
|
||||||
class Module(ModuleManager.BaseModule):
|
class Module(ModuleManager.BaseModule):
|
||||||
@utils.hook("received.message.private")
|
@utils.hook("received.message.private")
|
||||||
@utils.hook("received.message.channel")
|
|
||||||
@utils.hook("received.notice.private")
|
@utils.hook("received.notice.private")
|
||||||
@utils.hook("received.notice.channel")
|
|
||||||
def privmsg(self, event):
|
def privmsg(self, event):
|
||||||
if MSGID_TAG in event["tags"]:
|
if MSGID_TAG in event["tags"]:
|
||||||
target = event.get("channel", event["user"])
|
target = event.get("channel", event["user"])
|
||||||
|
|
Loading…
Reference in a new issue