From ce53874927787006c6a6a14d590eef3769dd65b7 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 21 Jun 2015 16:28:22 +0200 Subject: Call update_caps() asynchronously (API changes in slixmpp) --- src/core/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/handlers.py b/src/core/handlers.py index e34d0554..f2df9a70 100644 --- a/src/core/handlers.py +++ b/src/core/handlers.py @@ -1005,7 +1005,7 @@ def on_session_start(self, event): if config.get('enable_user_nick'): self.xmpp.plugin['xep_0172'].publish_nick(nick=self.own_nick, callback=dumb_callback) - self.xmpp.plugin['xep_0115'].update_caps() + asyncio.async(self.xmpp.plugin['xep_0115'].update_caps()) # Start the ping's plugin regular event self.xmpp.set_keepalive_values() -- cgit v1.2.3