diff options
-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 ### |