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() {
|
public boolean isWithStranger() {
|
||||||
if (mode == MODE_SINGLE) {
|
return mode == MODE_SINGLE
|
||||||
return !getContact().mutualPresenceSubscription() && sentMessagesCount() == 0;
|
&& !getJid().equals(account.getJid().toDomainJid())
|
||||||
} else {
|
&& !getContact().mutualPresenceSubscription()
|
||||||
return false;
|
&& sentMessagesCount() == 0;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Smp {
|
public class Smp {
|
||||||
|
|
Loading…
Reference in a new issue