Fix quoted mentioned showing in regular message bug.

This commit is contained in:
Cody Henthorne
2023-09-22 15:05:56 -04:00
committed by Alex Hart
parent 770a89507a
commit 15c6c372ba

View File

@@ -1098,7 +1098,7 @@ public class SignalServiceMessageSender {
.mentionAci(mention.getServiceId().toString())
.build());
}
builder.bodyRanges(bodyRanges);
quoteBuilder.bodyRanges(bodyRanges);
builder.requiredProtocolVersion(Math.max(DataMessage.ProtocolVersion.MENTIONS.getValue(), builder.requiredProtocolVersion));
}