Commit 7b5c44b3 authored by Maxime Buquet's avatar Maxime Buquet

Merge branch 'reorder-plugin-handle-corner-case' into 'master'

Fix an issue where the reorder plugin would not create gaps

See merge request !99
parents da235f28 52ad2c02
Pipeline #3104 failed with stages
in 5 minutes and 30 seconds
...@@ -177,6 +177,8 @@ class Plugin(BasePlugin): ...@@ -177,6 +177,8 @@ class Plugin(BasePlugin):
if cls in (tabs.DynamicConversationTab, tabs.StaticConversationTab): if cls in (tabs.DynamicConversationTab, tabs.StaticConversationTab):
new_tab = cls(self.core, jid) new_tab = cls(self.core, jid)
new_tabs.append(new_tab) new_tabs.append(new_tab)
except: except:
self.api.information('Failed to create tab \'%s\'.' % jid, 'Error') self.api.information('Failed to create tab \'%s\'.' % jid, 'Error')
if create_gaps: 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