impromptu: rework string format
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
f86626a7f4
commit
936e16f98f
1 changed files with 2 additions and 1 deletions
|
@ -934,7 +934,8 @@ class Core:
|
||||||
return
|
return
|
||||||
|
|
||||||
nick = self.own_nick
|
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()
|
self.open_new_room(room, nick).join()
|
||||||
iq = self._impromptu_room_form(room)
|
iq = self._impromptu_room_form(room)
|
||||||
|
|
Loading…
Reference in a new issue