Counts fixed.
This commit is contained in:
parent
b928fbdc87
commit
fe2ccde25c
@ -5,6 +5,11 @@ Added:
|
|||||||
|
|
||||||
▪ ownCloud plugin now allows to add feeds and rename feeds.
|
▪ 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
|
3.2.1
|
||||||
—————
|
—————
|
||||||
|
|
||||||
|
@ -104,6 +104,13 @@ void ServiceRoot::updateCounts(bool including_total_count) {
|
|||||||
feed->setCountOfAllMessages(counts.value(feed->customId()).second);
|
feed->setCountOfAllMessages(counts.value(feed->customId()).second);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
feed->setCountOfUnreadMessages(0);
|
||||||
|
|
||||||
|
if (including_total_count) {
|
||||||
|
feed->setCountOfAllMessages(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user