reorder: create GapTab if configured, when creating ConversationTab fails

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent 7d6b3010
......@@ -183,7 +183,8 @@ class Plugin(BasePlugin):
new_tabs.append(new_tab)
except:
self.api.information('Failed to create tab \'%s\'.' % jid, 'Error')
continue
if create_gaps:
new_tabs.append(tabs.GapTab(self.core))
last = pos
for tab in old_tabs:
......
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