Added active flag to contacts.

This commit is contained in:
akwizgran
2016-02-17 18:10:52 +00:00
parent 6b76b75d08
commit a6baa5821e
14 changed files with 186 additions and 59 deletions

View File

@@ -125,7 +125,7 @@ public class ContactListFragment extends BaseEventFragment {
long now = System.currentTimeMillis();
List<ContactListItem> contacts =
new ArrayList<ContactListItem>();
for (Contact c : contactManager.getContacts()) {
for (Contact c : contactManager.getActiveContacts()) {
try {
ContactId id = c.getId();
GroupId groupId =

View File

@@ -138,7 +138,7 @@ SelectContactsDialog.Listener {
public void run() {
try {
long now = System.currentTimeMillis();
contacts = contactManager.getContacts();
contacts = contactManager.getActiveContacts();
selected = forumSharingManager.getSharedWith(groupId);
long duration = System.currentTimeMillis() - now;
if (LOG.isLoggable(INFO))