aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/services
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-11-23 12:58:45 +0100
committerChristian Schneppe <christian@pix-art.de>2018-11-23 12:58:45 +0100
commit89b2a449294d10a74e7d5f5a396ca344104f5cf6 (patch)
tree0e99e231920e29ebcc2363be3929bdb9b6813b42 /src/main/java/de/pixart/messenger/services
parent0290fa1b011c02698fc1313342ac0f8b5fd31d16 (diff)
use inContactList() instead inRoster() in the proper places
Diffstat (limited to 'src/main/java/de/pixart/messenger/services')
-rw-r--r--src/main/java/de/pixart/messenger/services/XmppConnectionService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java
index bb443c375..068b3ec59 100644
--- a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java
+++ b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java
@@ -4053,7 +4053,7 @@ public class XmppConnectionService extends Service {
for (Account account : getAccounts()) {
if ((account.isEnabled() || accountJid != null)
&& (accountJid == null || accountJid.equals(account.getJid().asBareJid().toString()))) {
- Contact contact = account.getRoster().getContactFromRoster(jid);
+ Contact contact = account.getRoster().getContactFromContactList(jid);
if (contact != null) {
contacts.add(contact);
}