Commit 52ad2c02 authored by mathieui's avatar mathieui

Fix an issue where the reorder plugin would not create gaps

parent da235f28
......@@ -177,6 +177,8 @@ class Plugin(BasePlugin):
if cls in (tabs.DynamicConversationTab, tabs.StaticConversationTab):
new_tab = cls(self.core, jid)
new_tabs.append(new_tab)
else:
new_tabs.append(tabs.GapTab(self.core))
except:
self.api.information('Failed to create tab \'%s\'.' % jid, 'Error')
if create_gaps:
......
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