Allow moderation by MUC bare jid again
(cherry picked from commit 31cc2ae9985ec174d17f12f692d91849325435a9)
This commit is contained in:
parent
f0b6d071ed
commit
87d0e0e7d6
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue