reorder: create GapTab if configured, when creating ConversationTab fails
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
7d6b301087
commit
496752d0db
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue