all contacts in roster are 'trusted'

This commit is contained in:
Daniel Gultsch 2018-04-11 10:07:11 +02:00
parent 84c5a1b0ae
commit 322667275c

View file

@ -642,7 +642,7 @@ public class Message extends AbstractEntity {
public boolean trusted() { public boolean trusted() {
Contact contact = this.getContact(); Contact contact = this.getContact();
return status > STATUS_RECEIVED || (contact != null && (contact.mutualPresenceSubscription() || contact.isSelf())); return status > STATUS_RECEIVED || (contact != null && (contact.showInRoster() || contact.isSelf()));
} }
public boolean fixCounterpart() { public boolean fixCounterpart() {