plugins/reorder: fix GapTab serialization
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
7b5c44b361
commit
7b2b21be30
1 changed files with 3 additions and 1 deletions
|
@ -113,7 +113,9 @@ def parse_runtime_tablist(tablist):
|
|||
for tab in tablist[1:]:
|
||||
i += 1
|
||||
result = check_tab(tab)
|
||||
if result:
|
||||
if result == 'empty':
|
||||
props.append((i, 'empty'))
|
||||
elif result:
|
||||
props.append((i, '%s:%s' % (result, tab.jid.full)))
|
||||
return props
|
||||
|
||||
|
|
Loading…
Reference in a new issue