mirror of
https://github.com/moparisthebest/Conversations
synced 2024-12-25 08:58:55 -05:00
always search offline contacts as well. fixes #1653
This commit is contained in:
parent
2c224d0f18
commit
24a9ac2908
@ -740,6 +740,7 @@ public class StartConversationActivity extends XmppActivity implements OnRosterU
|
||||
Presence.Status s = p == null ? Presence.Status.OFFLINE : p.getStatus();
|
||||
if (contact.showInRoster() && contact.match(needle)
|
||||
&& (!this.mHideOfflineContacts
|
||||
|| (needle != null && !needle.trim().isEmpty())
|
||||
|| s.compareTo(Presence.Status.OFFLINE) < 0)) {
|
||||
this.contacts.add(contact);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user