V0.6 #852

Merged
Atheros1 merged 399 commits from v0.6 into master 2016-05-03 01:58:38 +02:00
Showing only changes of commit 444edbd6a3 - Show all commits

View File

@ -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