From 322667275ca929e9aec4b2c4dca3b6956abce05b Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Wed, 11 Apr 2018 10:07:11 +0200 Subject: [PATCH] all contacts in roster are 'trusted' --- src/main/java/eu/siacs/conversations/entities/Message.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/entities/Message.java b/src/main/java/eu/siacs/conversations/entities/Message.java index 8638cc556..129895ecb 100644 --- a/src/main/java/eu/siacs/conversations/entities/Message.java +++ b/src/main/java/eu/siacs/conversations/entities/Message.java @@ -642,7 +642,7 @@ public class Message extends AbstractEntity { public boolean trusted() { 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() {