summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2021-12-24 23:12:17 +0100
committerMaxime “pep” Buquet <pep@bouah.net>2021-12-24 23:12:17 +0100
commit7e3d9c0dcb3f3cf805cd488ae6f08811d9245ecc (patch)
treeccf850ddd4e1fd9bce349278c89547c0fa888175
parent07f56779a843bbfd0e1305e6cf99b0251d48b62e (diff)
downloadpoezio-7e3d9c0dcb3f3cf805cd488ae6f08811d9245ecc.tar.gz
poezio-7e3d9c0dcb3f3cf805cd488ae6f08811d9245ecc.tar.bz2
poezio-7e3d9c0dcb3f3cf805cd488ae6f08811d9245ecc.tar.xz
poezio-7e3d9c0dcb3f3cf805cd488ae6f08811d9245ecc.zip
impromptu: add room jid in invite info message
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--poezio/core/commands.py1
-rw-r--r--poezio/core/core.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/commands.py b/poezio/core/commands.py
index 3225b61e..bc594494 100644
--- a/poezio/core/commands.py
+++ b/poezio/core/commands.py
@@ -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):
diff --git a/poezio/core/core.py b/poezio/core/core.py
index e327d4f1..ffdd11d1 100644
--- a/poezio/core/core.py
+++ b/poezio/core/core.py
@@ -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(