impromptu: add room jid in invite info message

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2021-12-24 23:12:17 +01:00
parent 07f56779a8
commit 7e3d9c0dcb
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2
2 changed files with 1 additions and 1 deletions

View file

@ -984,7 +984,6 @@ class CommandCore:
jids.add(bare)
asyncio.create_task(self.core.impromptu(jids))
self.core.information('Invited %s to a random room' % (', '.join(jids)), 'Info')
@command_args_parser.quoted(1, 1, [''])
def decline(self, args):

View file

@ -1031,6 +1031,7 @@ class Core:
for jid in jids:
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(