Subscription folder loading fix
This commit is contained in:
parent
02a593fc7f
commit
444edbd6a3
|
@ -35,6 +35,11 @@ def getSortedSubscriptions(count = False):
|
|||
GROUP BY inbox.fromaddress, folder''')
|
||||
for row in queryreturn:
|
||||
address, folder, cnt = row
|
||||
if not folder in ret[address]:
|
||||
ret[address][folder] = {
|
||||
'label': ret[address]['inbox']['label'],
|
||||
'enabled': ret[address]['inbox']['enabled']
|
||||
}
|
||||
ret[address][folder]['count'] = cnt
|
||||
return ret
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user