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() {
|
public boolean isWithStranger() {
|
||||||
return mode == MODE_SINGLE
|
return mode == MODE_SINGLE
|
||||||
&& !getJid().equals(account.getJid().toDomainJid())
|
&& !getJid().equals(account.getJid().toDomainJid())
|
||||||
&& !getContact().mutualPresenceSubscription()
|
&& !getContact().showInRoster()
|
||||||
&& sentMessagesCount() == 0;
|
&& sentMessagesCount() == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue