define strangers as people not in roster instead of no mutual presence subscription

This commit is contained in:
Daniel Gultsch 2017-03-20 13:25:36 +01:00
parent e58f72c20f
commit 644a3a729d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}