summaryrefslogtreecommitdiff
path: root/poezio/tabs/muctab.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/tabs/muctab.py')
-rw-r--r--poezio/tabs/muctab.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py
index e1366bcd..182e7145 100644
--- a/poezio/tabs/muctab.py
+++ b/poezio/tabs/muctab.py
@@ -153,14 +153,14 @@ class MucTab(ChatTab):
"""
The user do not want to send their config, send an iq cancel
"""
- muc.cancel_config(self.core.xmpp, self.jid.bare)
+ asyncio.ensure_future(self.core.xmpp['xep_0045'].cancel_config(self.jid.bare))
self.core.close_tab()
def send_config(self, form: 'Form') -> None:
"""
The user sends their config to the server
"""
- muc.configure_room(self.core.xmpp, self.jid.bare, form)
+ asyncio.ensure_future(self.core.xmpp['xep_0045'].set_room_config(self.jid.bare, form))
self.core.close_tab()
def join(self) -> None: