Remove unneeded string literal for resume
CAP
This commit is contained in:
parent
bc5f9351b1
commit
22660067d5
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
def on_cap_new(self, event):
|
def on_cap_new(self, event):
|
||||||
username, token = self._get_token(event["server"])
|
username, token = self._get_token(event["server"])
|
||||||
if CAP in event["capabilities"] and (not username or not token):
|
if CAP in event["capabilities"] and (not username or not token):
|
||||||
event["server"].queue_capability("draft/resume-0.2")
|
event["server"].queue_capability(CAP)
|
||||||
|
|
||||||
@utils.hook("received.cap.ack")
|
@utils.hook("received.cap.ack")
|
||||||
def on_cap_ack(self, event):
|
def on_cap_ack(self, event):
|
||||||
|
|
Loading…
Reference in a new issue