Remove unneeded string literal for resume CAP

This commit is contained in:
jesopo 2018-11-09 11:15:07 +00:00
parent bc5f9351b1
commit 22660067d5

View file

@ -10,7 +10,7 @@ class Module(ModuleManager.BaseModule):
def on_cap_new(self, event):
username, token = self._get_token(event["server"])
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")
def on_cap_ack(self, event):