From 22660067d5ba4f8d4a60449e5c0ba4a0ab4b0550 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 9 Nov 2018 11:15:07 +0000 Subject: [PATCH] Remove unneeded string literal for `resume` CAP --- modules/resume.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/resume.py b/modules/resume.py index 8de14957..0f074642 100644 --- a/modules/resume.py +++ b/modules/resume.py @@ -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):