diff options
author | mathieui <mathieui@mathieui.net> | 2020-05-12 23:57:59 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2020-05-12 23:57:59 +0200 |
commit | 52ad2c02358795cc6af3f00f54d87361552280b1 (patch) | |
tree | 589ae0a36296fa0c98880bdf92ce21cac429e70d /plugins/reorder.py | |
parent | da235f286dab02932efc18e474b61b46a8f0ca93 (diff) | |
download | poezio-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/reorder.py')
-rw-r--r-- | plugins/reorder.py | 2 |
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: |