summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2020-05-12 23:57:59 +0200
committermathieui <mathieui@mathieui.net>2020-05-12 23:57:59 +0200
commit52ad2c02358795cc6af3f00f54d87361552280b1 (patch)
tree589ae0a36296fa0c98880bdf92ce21cac429e70d /plugins
parentda235f286dab02932efc18e474b61b46a8f0ca93 (diff)
downloadpoezio-52ad2c02358795cc6af3f00f54d87361552280b1.tar.gz
poezio-52ad2c02358795cc6af3f00f54d87361552280b1.tar.bz2
poezio-52ad2c02358795cc6af3f00f54d87361552280b1.tar.xz
poezio-52ad2c02358795cc6af3f00f54d87361552280b1.zip
Fix an issue where the reorder plugin would not create gaps
Diffstat (limited to 'plugins')
-rw-r--r--plugins/reorder.py2
1 files changed, 2 insertions, 0 deletions
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: