fix: do not print a message on a muc not found
as we will nott actually create the tab.
This commit is contained in:
parent
3315498134
commit
c296768987
1 changed files with 1 additions and 1 deletions
|
@ -177,9 +177,9 @@ class Plugin(BasePlugin):
|
||||||
new_tabs.append(tab)
|
new_tabs.append(tab)
|
||||||
old_tabs.remove(tab)
|
old_tabs.remove(tab)
|
||||||
else:
|
else:
|
||||||
self.api.information('Tab %s not found. Creating it' % jid, 'Warning')
|
|
||||||
# TODO: Add support for MucTab. Requires nickname.
|
# TODO: Add support for MucTab. Requires nickname.
|
||||||
if cls in (tabs.DynamicConversationTab, tabs.StaticConversationTab):
|
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_tab = cls(self.core, jid)
|
||||||
new_tabs.append(new_tab)
|
new_tabs.append(new_tab)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue