Commit d19fef5e authored by mathieui's avatar mathieui

asyncio.async() is deprecated since python 3.5

parent a8680cc8
......@@ -1021,7 +1021,7 @@ class HandlerCore:
if config.get('enable_user_nick'):
self.core.xmpp.plugin['xep_0172'].publish_nick(nick=self.core.own_nick, callback=dumb_callback)
asyncio.async(self.core.xmpp.plugin['xep_0115'].update_caps())
asyncio.ensure_future(self.core.xmpp.plugin['xep_0115'].update_caps())
# Start the ping's plugin regular event
self.core.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