Counts fixed.

This commit is contained in:
Martin Rotter 2016-05-02 06:39:30 +02:00
parent b928fbdc87
commit fe2ccde25c
2 changed files with 12 additions and 0 deletions

View File

@ -5,6 +5,11 @@ Added:
▪ ownCloud plugin now allows to add feeds and rename feeds.
Fixed:
▪ Some minor buggies and code mistakes.
▪ Fixed problem with message counts.
3.2.1
—————

View File

@ -104,6 +104,13 @@ void ServiceRoot::updateCounts(bool including_total_count) {
feed->setCountOfAllMessages(counts.value(feed->customId()).second);
}
}
else {
feed->setCountOfUnreadMessages(0);
if (including_total_count) {
feed->setCountOfAllMessages(0);
}
}
}
}
}