1
0
Fork 1

Allow moderation by MUC bare jid again

(cherry picked from commit 31cc2ae9985ec174d17f12f692d91849325435a9)
This commit is contained in:
Stephen Paul Weber 2024-10-04 22:13:40 -05:00 committed by Arne
parent f0b6d071ed
commit 87d0e0e7d6

View file

@ -941,7 +941,7 @@ public class MessageParser extends AbstractParser implements Consumer<im.convers
.equals(message.getOccupantId());
final boolean mucUserMatches = query == null && replacedMessage.sameMucUser(message); //can not be checked when using mam
final boolean duplicate = conversation.hasDuplicateMessage(message);
if (fingerprintsMatch && (trueCountersMatch || occupantIdMatch || !conversationMultiMode || mucUserMatches) && !duplicate) {
if (fingerprintsMatch && (trueCountersMatch || occupantIdMatch || !conversationMultiMode || mucUserMatches || counterpart.isBareJid()) && !duplicate) {
synchronized (replacedMessage) {
final String uuid = replacedMessage.getUuid();
replacedMessage.setUuid(UUID.randomUUID().toString());