Use new IRCChannel/IRCUser send_tagmsg in message_tracking.py

This commit is contained in:
jesopo 2019-02-22 22:37:27 +00:00
parent 8b54046ca4
commit ed4643b15d

View file

@ -14,4 +14,4 @@ class Module(ModuleManager.BaseModule):
target = event.get("channel", event["user"]) target = event.get("channel", event["user"])
msgid = event["tags"][MSGID_TAG] msgid = event["tags"][MSGID_TAG]
tags = {DELIVERED_TAG: msgid, READ_TAG: msgid} tags = {DELIVERED_TAG: msgid, READ_TAG: msgid}
event["server"].send_tagmsg(target.name, tags) target.send_tagmsg(tags)