aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-03-23 23:18:47 +0100
committerChristian Schneppe <christian@pix-art.de>2017-03-23 23:18:47 +0100
commitd8c077be6513debbb352d362390296c37c92c7fd (patch)
tree40f66b19bf7ec8d08b9f27f5cd0228e6aa83ad1f /src/main
parent6b899766a5872c4e53523f9decb7e6ade686b3fb (diff)
define strangers as people not in roster instead of no mutual presence subscription
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/de/pixart/messenger/entities/Conversation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/entities/Conversation.java b/src/main/java/de/pixart/messenger/entities/Conversation.java
index d3b0e003a..ec59e2c07 100644
--- a/src/main/java/de/pixart/messenger/entities/Conversation.java
+++ b/src/main/java/de/pixart/messenger/entities/Conversation.java
@@ -1061,7 +1061,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;
}