From 0dcc6f9cc403e9f0159c5f8d6381e43cfc35c6bf Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 1 Jun 2013 21:43:15 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20the=20caps=20updating=20(=E2=80=9Cdo=20no?= =?UTF-8?q?t=20verify=E2=80=9D=20message=20in=20swift)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/connection.py | 2 -- src/core.py | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/connection.py b/src/connection.py index 8db237c4..9a952793 100644 --- a/src/connection.py +++ b/src/connection.py @@ -102,8 +102,6 @@ class Connection(sleekxmpp.ClientXMPP): self.register_plugin('xep_0224') self.register_plugin('xep_0308') - self.plugin['xep_0115'].update_caps() - def start(self): # TODO, try multiple servers # With anon auth. diff --git a/src/core.py b/src/core.py index dc19038a..40661e89 100644 --- a/src/core.py +++ b/src/core.py @@ -3307,6 +3307,7 @@ class Core(object): if config.get('enable_user_nick', 'true') != 'false': self.xmpp.plugin['xep_0172'].publish_nick(nick=self.own_nick) + self.xmpp.plugin['xep_0115'].update_caps() ### Other handlers ###