impromptu: wait for subject instead of self-presence
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
ee82c6717d
commit
cdf38ace9f
1 changed files with 1 additions and 2 deletions
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue