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.
This commit is contained in:
Stephen Paul Weber 2022-06-27 13:34:26 -05:00 committed by Daniel Gultsch
parent d9fa535f00
commit 84e08933f9

View file

@ -1076,7 +1076,7 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl
&& !contact.isOwnServer() && !contact.isOwnServer()
&& !contact.showInContactList() && !contact.showInContactList()
&& !contact.isSelf() && !contact.isSelf()
&& !JidHelper.isQuicksyDomain(contact.getJid()) && !(contact.getJid().isDomainJid() && JidHelper.isQuicksyDomain(contact.getJid()))
&& sentMessagesCount() == 0; && sentMessagesCount() == 0;
} }