From 4e7bfee3a6ab8d06d8780e63ef8a1e30fce5c778 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 14 Feb 2019 23:07:34 +0000 Subject: [PATCH] Only send `+draft/delivered` and `+draft/read` on private message --- modules/message_tracking.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/message_tracking.py b/modules/message_tracking.py index 2df7d1c9..5b2c1180 100644 --- a/modules/message_tracking.py +++ b/modules/message_tracking.py @@ -6,9 +6,7 @@ DELIVERED_TAG = "+draft/delivered" class Module(ModuleManager.BaseModule): @utils.hook("received.message.private") - @utils.hook("received.message.channel") @utils.hook("received.notice.private") - @utils.hook("received.notice.channel") def privmsg(self, event): if MSGID_TAG in event["tags"]: target = event.get("channel", event["user"])