From cdf38ace9f91c652a866d0e06c874cd31b7d14e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Tue, 1 Mar 2022 00:36:45 +0100 Subject: impromptu: wait for subject instead of self-presence MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio/core/core.py | 3 +-- 1 file changed, 1 insertion(+), 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, ) -- cgit v1.2.3