plugins/reorder: Don't serialize gaptabs as they're recreated automatically
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
e7b74c19a8
commit
75d7f5da93
1 changed files with 2 additions and 3 deletions
|
@ -117,9 +117,8 @@ def parse_runtime_tablist(tablist):
|
|||
for tab in tablist[1:]:
|
||||
i += 1
|
||||
result = check_tab(tab)
|
||||
if result == 'empty':
|
||||
props.append((i, 'empty'))
|
||||
elif result:
|
||||
# Don't serialize gap tabs as they're recreated automatically
|
||||
if result != 'empty':
|
||||
props.append((i, '%s:%s' % (result, tab.jid.full)))
|
||||
return props
|
||||
|
||||
|
|
Loading…
Reference in a new issue