impromptu: rework string format

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2018-12-15 23:50:11 +00:00
parent f86626a7f4
commit 936e16f98f

View file

@ -934,7 +934,8 @@ class Core:
return
nick = self.own_nick
room = uuid.uuid4().hex + '@' + default_muc
localpart = uuid.uuid4().hex
room = '{!s}@{!s}'.format(localpart, default_muc)
self.open_new_room(room, nick).join()
iq = self._impromptu_room_form(room)