diff options
author | mathieui <mathieui@mathieui.net> | 2015-06-21 16:28:22 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2015-06-21 16:28:22 +0200 |
commit | ce53874927787006c6a6a14d590eef3769dd65b7 (patch) | |
tree | f84abbfa0c0ca2f15b1f398384f71939c9f79737 /src/core | |
parent | 1efc45f882bf213e2ad2e4b450669d13d9b03e38 (diff) | |
download | poezio-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/core')
-rw-r--r-- | src/core/handlers.py | 2 |
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() |