From 27736baafb89844a4f0fc7c3ac4bd353df1d3450 Mon Sep 17 00:00:00 2001 From: automated-signal <37887102+automated-signal@users.noreply.github.com> Date: Mon, 28 Oct 2024 14:32:37 -0500 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 1afa16a956..a68ad3da91 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