asyncio.async() is deprecated since python 3.5
This commit is contained in:
parent
a8680cc86b
commit
d19fef5e70
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue