diff options
Diffstat (limited to 'poezio/core')
-rw-r--r-- | poezio/core/core.py | 4 | ||||
-rw-r--r-- | poezio/core/handlers.py | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py index 3ad15719..2f692b42 100644 --- a/poezio/core/core.py +++ b/poezio/core/core.py @@ -633,7 +633,9 @@ class Core: else: self.do_command(''.join(char_list), True) if self.status.show not in ('xa', 'away'): - self.xmpp.plugin['xep_0319'].idle() + asyncio.ensure_future( + self.xmpp.plugin['xep_0319'].idle() + ) self.doupdate() def save_config(self): diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py index c344ebd3..370d3a85 100644 --- a/poezio/core/handlers.py +++ b/poezio/core/handlers.py @@ -98,8 +98,10 @@ class HandlerCore: self.core.xmpp.plugin['xep_0280'].enable() self.core.check_bookmark_storage(features) - self.core.xmpp.plugin['xep_0030'].get_info( - jid=self.core.xmpp.boundjid.domain, callback=callback) + asyncio.ensure_future( + self.core.xmpp.plugin['xep_0030'].get_info( + jid=self.core.xmpp.boundjid.domain, callback=callback) + ) def find_identities(self, _): asyncio.ensure_future( |