summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMaxime Buquet <pep@bouah.net>2020-05-13 00:03:12 +0200
committerMaxime Buquet <pep@bouah.net>2020-05-13 00:03:12 +0200
commit7b5c44b3613fb2b9255a4cf0319846bed39fcc64 (patch)
tree589ae0a36296fa0c98880bdf92ce21cac429e70d /plugins
parentda235f286dab02932efc18e474b61b46a8f0ca93 (diff)
parent52ad2c02358795cc6af3f00f54d87361552280b1 (diff)
downloadpoezio-7b5c44b3613fb2b9255a4cf0319846bed39fcc64.tar.gz
poezio-7b5c44b3613fb2b9255a4cf0319846bed39fcc64.tar.bz2
poezio-7b5c44b3613fb2b9255a4cf0319846bed39fcc64.tar.xz
poezio-7b5c44b3613fb2b9255a4cf0319846bed39fcc64.zip
Merge branch 'reorder-plugin-handle-corner-case' into 'master'
Fix an issue where the reorder plugin would not create gaps See merge request poezio/poezio!99
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: