From 644a3a729deca96b6a1882e20788c30b93230101 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 20 Mar 2017 13:25:36 +0100 Subject: [PATCH] define strangers as people not in roster instead of no mutual presence subscription --- src/main/java/eu/siacs/conversations/entities/Conversation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/entities/Conversation.java b/src/main/java/eu/siacs/conversations/entities/Conversation.java index 0b952dd66..94c5f9c35 100644 --- a/src/main/java/eu/siacs/conversations/entities/Conversation.java +++ b/src/main/java/eu/siacs/conversations/entities/Conversation.java @@ -1009,7 +1009,7 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl public boolean isWithStranger() { return mode == MODE_SINGLE && !getJid().equals(account.getJid().toDomainJid()) - && !getContact().mutualPresenceSubscription() + && !getContact().showInRoster() && sentMessagesCount() == 0; }