From 52ad2c02358795cc6af3f00f54d87361552280b1 Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 12 May 2020 23:57:59 +0200 Subject: Fix an issue where the reorder plugin would not create gaps --- plugins/reorder.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') diff --git a/plugins/reorder.py b/plugins/reorder.py index 7be0b350..26f5f13d 100644 --- a/plugins/reorder.py +++ b/plugins/reorder.py @@ -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: -- cgit v1.2.3