+draft/typing has been ratified

This commit is contained in:
jesopo 2020-05-20 16:36:40 +01:00
parent c5521b8433
commit 1dbc700cdc

View file

@ -5,7 +5,10 @@ CAP = utils.irc.Capability("message-tags", "draft/message-tags-0.2")
class Module(ModuleManager.BaseModule):
def _tagmsg(self, target, state):
return IRCLine.ParsedLine("TAGMSG", [target],
tags={"+draft/typing": state})
tags={
"+typing": state,
"+draft/typing": state
})
def _has_tags(self, server):
return server.has_capability(CAP)