never mark conversation w/ own server as stranger

This commit is contained in:
Daniel Gultsch 2017-03-14 11:09:34 +01:00
parent 09d68ae603
commit 95e33b5a97
1 changed files with 4 additions and 5 deletions

View File

@ -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 {