mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-27 19:22:15 -05:00
define strangers as people not in roster instead of no mutual presence subscription
This commit is contained in:
parent
e58f72c20f
commit
644a3a729d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user