summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/reorder.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/reorder.py b/plugins/reorder.py
index 4a5f515e..38975a02 100644
--- a/plugins/reorder.py
+++ b/plugins/reorder.py
@@ -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