From 84e08933f91844a58c7d85c319ecf401cb43889e Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Mon, 27 Jun 2022 13:34:26 -0500 Subject: [PATCH] A Quicky user can be a stranger At some point a refactor changed this check from checking that the quicksy domain itself is talking to you, to checking that anyone using quicksy is talking to you, which breaks the notifications from strangers setting for quicksy users. --- src/main/java/eu/siacs/conversations/entities/Conversation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/entities/Conversation.java b/src/main/java/eu/siacs/conversations/entities/Conversation.java index aeba1f14c..4a825fbb3 100644 --- a/src/main/java/eu/siacs/conversations/entities/Conversation.java +++ b/src/main/java/eu/siacs/conversations/entities/Conversation.java @@ -1076,7 +1076,7 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl && !contact.isOwnServer() && !contact.showInContactList() && !contact.isSelf() - && !JidHelper.isQuicksyDomain(contact.getJid()) + && !(contact.getJid().isDomainJid() && JidHelper.isQuicksyDomain(contact.getJid())) && sentMessagesCount() == 0; }