+draft/typing has been ratified
This commit is contained in:
parent
c5521b8433
commit
1dbc700cdc
1 changed files with 4 additions and 1 deletions
|
@ -5,7 +5,10 @@ CAP = utils.irc.Capability("message-tags", "draft/message-tags-0.2")
|
||||||
class Module(ModuleManager.BaseModule):
|
class Module(ModuleManager.BaseModule):
|
||||||
def _tagmsg(self, target, state):
|
def _tagmsg(self, target, state):
|
||||||
return IRCLine.ParsedLine("TAGMSG", [target],
|
return IRCLine.ParsedLine("TAGMSG", [target],
|
||||||
tags={"+draft/typing": state})
|
tags={
|
||||||
|
"+typing": state,
|
||||||
|
"+draft/typing": state
|
||||||
|
})
|
||||||
def _has_tags(self, server):
|
def _has_tags(self, server):
|
||||||
return server.has_capability(CAP)
|
return server.has_capability(CAP)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue