From 936e16f98f7b9cf4062de62cc9c5ef30b1e44820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sat, 15 Dec 2018 23:50:11 +0000 Subject: [PATCH] impromptu: rework string format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio/core/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/poezio/core/core.py b/poezio/core/core.py index 54c33a0d..01748659 100644 --- a/poezio/core/core.py +++ b/poezio/core/core.py @@ -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)