diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2022-03-01 00:36:45 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2022-03-01 22:38:03 +0100 |
commit | cdf38ace9f91c652a866d0e06c874cd31b7d14e0 (patch) | |
tree | 5f190be4f1c59eb3227e8b89ba5fc9609b47cc55 | |
parent | ee82c6717dcbc50ef5bc288d2ffb307339006b2f (diff) | |
download | poezio-cdf38ace9f91c652a866d0e06c874cd31b7d14e0.tar.gz poezio-cdf38ace9f91c652a866d0e06c874cd31b7d14e0.tar.bz2 poezio-cdf38ace9f91c652a866d0e06c874cd31b7d14e0.tar.xz poezio-cdf38ace9f91c652a866d0e06c874cd31b7d14e0.zip |
impromptu: wait for subject instead of self-presence
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r-- | poezio/core/core.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py index 05008e02..d4ce6443 100644 --- a/poezio/core/core.py +++ b/poezio/core/core.py @@ -1057,9 +1057,8 @@ class Core: await self.invite(jid, room, force_mediated=True) self.information('Invited %s to %s' % (', '.join(jids), room.bare), 'Info') - # TODO: Use xep_0045's async join_muc_wait somehow instead? self.xmpp.add_event_handler( - 'muc::%s::self-presence' % room.bare, + 'muc::%s::groupchat_subject' % room.bare, join_callback, disposable=True, ) |