summaryrefslogtreecommitdiff
path: root/poezio/tabs
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/tabs')
-rw-r--r--poezio/tabs/adhoc_commands_list.py4
-rw-r--r--poezio/tabs/muctab.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/poezio/tabs/adhoc_commands_list.py b/poezio/tabs/adhoc_commands_list.py
index 10ebf22b..66f0691a 100644
--- a/poezio/tabs/adhoc_commands_list.py
+++ b/poezio/tabs/adhoc_commands_list.py
@@ -26,8 +26,8 @@ class AdhocCommandsListTab(ListTab):
if not self.listview or not self.listview.get_selected_row():
return
node, name, jid = self.listview.get_selected_row()
- session = {'next': self.core.on_next_adhoc_step,
- 'error': self.core.on_adhoc_error}
+ session = {'next': self.core.handler.next_adhoc_step,
+ 'error': self.core.handler.adhoc_error}
self.core.xmpp.plugin['xep_0050'].start_command(jid, node, session)
def get_columns_sizes(self):
diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py
index 28161a6d..ff4471d8 100644
--- a/poezio/tabs/muctab.py
+++ b/poezio/tabs/muctab.py
@@ -1270,7 +1270,7 @@ class MucTab(ChatTab):
if user.nick == self.own_nick:
self.own_nick = new_nick
# also change our nick in all private discussions of this room
- self.core.on_muc_own_nickchange(self)
+ self.core.handler.muc_own_nickchange(self)
else:
color = config.get_by_tabname(new_nick, 'muc_colors')
if color != '':