Fix an issue where the reorder plugin would not create gaps

This commit is contained in:
mathieui 2020-05-12 23:57:59 +02:00
parent da235f286d
commit 52ad2c0235

View file

@ -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: