diff options
author | mathieui <mathieui@mathieui.net> | 2013-06-01 21:43:15 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2013-06-01 21:43:15 +0200 |
commit | 0dcc6f9cc403e9f0159c5f8d6381e43cfc35c6bf (patch) | |
tree | fddbb3e8126c84a915df5c0b1238862915e9cc1f /src | |
parent | 248a9ea8227d26338b559cbdf07291f26f7b98e8 (diff) | |
download | poezio-0dcc6f9cc403e9f0159c5f8d6381e43cfc35c6bf.tar.gz poezio-0dcc6f9cc403e9f0159c5f8d6381e43cfc35c6bf.tar.bz2 poezio-0dcc6f9cc403e9f0159c5f8d6381e43cfc35c6bf.tar.xz poezio-0dcc6f9cc403e9f0159c5f8d6381e43cfc35c6bf.zip |
Fix the caps updating (“do not verify” message in swift)
Diffstat (limited to 'src')
-rw-r--r-- | src/connection.py | 2 | ||||
-rw-r--r-- | src/core.py | 1 |
2 files changed, 1 insertions, 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 ### |