summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-06-21 16:28:22 +0200
committermathieui <mathieui@mathieui.net>2015-06-21 16:28:22 +0200
commitce53874927787006c6a6a14d590eef3769dd65b7 (patch)
treef84abbfa0c0ca2f15b1f398384f71939c9f79737 /src
parent1efc45f882bf213e2ad2e4b450669d13d9b03e38 (diff)
downloadpoezio-ce53874927787006c6a6a14d590eef3769dd65b7.tar.gz
poezio-ce53874927787006c6a6a14d590eef3769dd65b7.tar.bz2
poezio-ce53874927787006c6a6a14d590eef3769dd65b7.tar.xz
poezio-ce53874927787006c6a6a14d590eef3769dd65b7.zip
Call update_caps() asynchronously
(API changes in slixmpp)
Diffstat (limited to 'src')
-rw-r--r--src/core/handlers.py2
1 files changed, 1 insertions, 1 deletions
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()