summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-06-25 23:09:52 +0200
committermathieui <mathieui@mathieui.net>2021-06-25 23:09:52 +0200
commitc2967689875e66fc6e3473c2db41974688104786 (patch)
tree25a0eb307b005672bb2f159f587a55bcbd451e21
parent3315498134ce399e23f6c9d7291c630fcd929ec2 (diff)
downloadpoezio-c2967689875e66fc6e3473c2db41974688104786.tar.gz
poezio-c2967689875e66fc6e3473c2db41974688104786.tar.bz2
poezio-c2967689875e66fc6e3473c2db41974688104786.tar.xz
poezio-c2967689875e66fc6e3473c2db41974688104786.zip
fix: do not print a message on a muc not found
as we will nott actually create the tab.
-rw-r--r--plugins/reorder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/reorder.py b/plugins/reorder.py
index 00961dbf..d4ab464b 100644
--- a/plugins/reorder.py
+++ b/plugins/reorder.py
@@ -177,9 +177,9 @@ class Plugin(BasePlugin):
new_tabs.append(tab)
old_tabs.remove(tab)
else:
- self.api.information('Tab %s not found. Creating it' % jid, 'Warning')
# TODO: Add support for MucTab. Requires nickname.
if cls in (tabs.DynamicConversationTab, tabs.StaticConversationTab):
+ self.api.information('Tab %s not found. Creating it' % jid, 'Warning')
new_tab = cls(self.core, jid)
new_tabs.append(new_tab)
else: