Render replies to 1:1 text stories

This commit is contained in:
Josh Perez
2023-03-07 17:59:44 -05:00
committed by GitHub
parent 7b1b1584f1
commit 78e3120d1a
5 changed files with 47 additions and 22 deletions

View File

@@ -464,7 +464,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
const attachments = getAttachmentsForMessage({ ...message });
let attachment: AttachmentType | undefined = attachments?.[0];
if (attachment && !attachment.url) {
if (attachment && !attachment.url && !attachment.textAttachment) {
attachment = undefined;
}