Fix mention rendering regression.

This commit is contained in:
Cody Henthorne
2022-03-11 14:18:42 -05:00
parent 9056371c41
commit 2eb8df347e

View File

@@ -52,7 +52,7 @@ public class ConversationMessage {
this.body = null;
}
if (!this.mentions.isEmpty() && this.body != null && this.messageRecord.isGroupV2()) {
if (!this.mentions.isEmpty() && this.body != null && this.messageRecord.getRecipient().isGroup()) {
MentionAnnotation.setMentionAnnotations(this.body, this.mentions);
}