Commit ce538749 authored by mathieui's avatar mathieui
Browse files

Call update_caps() asynchronously

(API changes in slixmpp)
parent 1efc45f8
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment