Commit c2967689 authored by mathieui's avatar mathieui

fix: do not print a message on a muc not found

as we will nott actually create the tab.
parent 33154981
Pipeline #3977 passed with stages
in 6 minutes and 50 seconds
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment