Call update_caps() asynchronously
(API changes in slixmpp)
This commit is contained in:
parent
1efc45f882
commit
ce53874927
1 changed files with 1 additions and 1 deletions
|
@ -1005,7 +1005,7 @@ def on_session_start(self, event):
|
||||||
|
|
||||||
if config.get('enable_user_nick'):
|
if config.get('enable_user_nick'):
|
||||||
self.xmpp.plugin['xep_0172'].publish_nick(nick=self.own_nick, callback=dumb_callback)
|
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
|
# Start the ping's plugin regular event
|
||||||
self.xmpp.set_keepalive_values()
|
self.xmpp.set_keepalive_values()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue