diff options
-rw-r--r-- | poezio/core/handlers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py index 6f87a61a..a3d447bd 100644 --- a/poezio/core/handlers.py +++ b/poezio/core/handlers.py @@ -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() |