plugins/reorder: Don't serialize gaptabs as they're recreated automatically

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent e7b74c19
Pipeline #3282 passed with stages
in 5 minutes and 9 seconds
......@@ -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
......
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