never mark conversation w/ own server as stranger
This commit is contained in:
parent
09d68ae603
commit
95e33b5a97
|
@ -1005,11 +1005,10 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl
|
|||
}
|
||||
|
||||
public boolean isWithStranger() {
|
||||
if (mode == MODE_SINGLE) {
|
||||
return !getContact().mutualPresenceSubscription() && sentMessagesCount() == 0;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
return mode == MODE_SINGLE
|
||||
&& !getJid().equals(account.getJid().toDomainJid())
|
||||
&& !getContact().mutualPresenceSubscription()
|
||||
&& sentMessagesCount() == 0;
|
||||
}
|
||||
|
||||
public class Smp {
|
||||
|
|
Loading…
Reference in a new issue