[Bug 300956] Group counts are wrong when set to "show only blocked contacts"
Martin Klapetek
martin.klapetek at gmail.com
Fri Jun 1 12:55:34 BST 2012
https://bugs.kde.org/show_bug.cgi?id=300956
Martin Klapetek <martin.klapetek at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |martin.klapetek at gmail.com
--- Comment #3 from Martin Klapetek <martin.klapetek at gmail.com> ---
For the available users count you'd probably want to modify
GroupsModelItem::countOnlineContacts() and check for the filter setting being
used. Then just extend the "if" in the forloop and count only the relevant
contacts. As for the total users count, see GroupsModelItem::data(int role) -
case AccountsModel::TotalUsersCountRole - you'd need to again implement
checking for the filter setting and count it from there.
Or implement it on the filter model level completely (which would make most
sense).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kde-telepathy-bugs
mailing list