Fix the caps updating (“do not verify” message in swift)

This commit is contained in:
mathieui 2013-06-01 21:43:15 +02:00
parent 248a9ea822
commit 0dcc6f9cc4
2 changed files with 1 additions and 2 deletions

View file

@ -102,8 +102,6 @@ class Connection(sleekxmpp.ClientXMPP):
self.register_plugin('xep_0224') self.register_plugin('xep_0224')
self.register_plugin('xep_0308') self.register_plugin('xep_0308')
self.plugin['xep_0115'].update_caps()
def start(self): def start(self):
# TODO, try multiple servers # TODO, try multiple servers
# With anon auth. # With anon auth.

View file

@ -3307,6 +3307,7 @@ class Core(object):
if config.get('enable_user_nick', 'true') != 'false': if config.get('enable_user_nick', 'true') != 'false':
self.xmpp.plugin['xep_0172'].publish_nick(nick=self.own_nick) self.xmpp.plugin['xep_0172'].publish_nick(nick=self.own_nick)
self.xmpp.plugin['xep_0115'].update_caps()
### Other handlers ### ### Other handlers ###