diff options
author | mathieui <mathieui@mathieui.net> | 2021-02-27 11:09:38 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-02-27 11:10:11 +0100 |
commit | 2d1bf7b1dd2480a9884cde01240d05a7396b3270 (patch) | |
tree | d0c414b5efd8ffdc4176b5aee8952bd9c5c24a65 /poezio/core/core.py | |
parent | 49820f1460b7fb39df5151d7044cb8a7bcc0ff89 (diff) | |
download | poezio-2d1bf7b1dd2480a9884cde01240d05a7396b3270.tar.gz poezio-2d1bf7b1dd2480a9884cde01240d05a7396b3270.tar.bz2 poezio-2d1bf7b1dd2480a9884cde01240d05a7396b3270.tar.xz poezio-2d1bf7b1dd2480a9884cde01240d05a7396b3270.zip |
misc: wrap some calls in ensure_future to prepare for slix API change
Some things need to be rewritten in a cleaner way, and other need to be
directly deleted, but that will need to wait for the slix api change
merge.
Diffstat (limited to 'poezio/core/core.py')
-rw-r--r-- | poezio/core/core.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py index 08ad8799..f8be2593 100644 --- a/poezio/core/core.py +++ b/poezio/core/core.py @@ -621,7 +621,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): |