summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/core/core.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py
index e601eace..54c33a0d 100644
--- a/poezio/core/core.py
+++ b/poezio/core/core.py
@@ -872,11 +872,9 @@ class Core:
self.xmpp.plugin['xep_0030'].get_info(
jid=jid, timeout=5, callback=callback)
- def _impromptu_room_form(self, room, _jids):
+ def _impromptu_room_form(self, room):
fields = [
('hidden', 'FORM_TYPE', 'http://jabber.org/protocol/muc#roomconfig'),
- ('text-single', 'muc#roomconfig_roomname', 'Foo'),
- ('text-single', 'muc#roomconfig_roomdesc', 'Bar'),
('boolean', 'muc#roomconfig_changesubject', True),
('boolean', 'muc#roomconfig_allowinvites', True),
('boolean', 'muc#roomconfig_persistent', True),
@@ -939,7 +937,7 @@ class Core:
room = uuid.uuid4().hex + '@' + default_muc
self.open_new_room(room, nick).join()
- iq = self._impromptu_room_form(room, jids)
+ iq = self._impromptu_room_form(room)
try:
await iq.send()
except (IqError, IqTimeout):