Counts fixed.
This commit is contained in:
parent
b928fbdc87
commit
fe2ccde25c
2 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
—————
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue