diff options
Diffstat (limited to 'poezio/multiuserchat.py')
-rw-r--r-- | poezio/multiuserchat.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/multiuserchat.py b/poezio/multiuserchat.py index 366f6d78..3278e1bd 100644 --- a/poezio/multiuserchat.py +++ b/poezio/multiuserchat.py @@ -3,7 +3,7 @@ # This file is part of Poezio. # # Poezio is free software: you can redistribute it and/or modify -# it under the terms of the zlib license. See the COPYING file. +# it under the terms of the GPL-3.0+ license. See the COPYING file. """ Implementation of the XEP-0045: Multi-User Chat. Add some facilities that are not available on the XEP_0045 @@ -109,7 +109,7 @@ def join_groupchat( xmpp.plugin['xep_0045'].rooms[jid] = {} xmpp.plugin['xep_0045'].our_nicks[jid] = to.resource - asyncio.ensure_future( + asyncio.create_task( xmpp.plugin['xep_0030'].get_info(jid=jid, callback=on_disco) ) |