From 6967a5d54569a6b1f99eb5ceb85314a1522d4d3b Mon Sep 17 00:00:00 2001 From: trevor-signal <131492920+trevor-signal@users.noreply.github.com> Date: Mon, 28 Oct 2024 15:09:54 -0400 Subject: [PATCH] Allow link previews without image or title --- ts/models/messages.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/models/messages.ts b/ts/models/messages.ts index 1afa16a95612..a68ad3da919e 100644 --- a/ts/models/messages.ts +++ b/ts/models/messages.ts @@ -1797,7 +1797,7 @@ export class MessageModel extends window.Backbone.Model { }; } - if (!item.image || !item.title) { + if (!item.image && !item.title) { return null; } // Story link previews don't have to correspond to links in the