summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/core/core.py3
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,
)