Allow link previews without image or title

This commit is contained in:
automated-signal 2024-10-28 14:32:48 -05:00 committed by GitHub
parent 710f0376bd
commit b402aaa36e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1797,7 +1797,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
};
}
if (!item.image || !item.title) {
if (!item.image && !item.title) {
return null;
}
// Story link previews don't have to correspond to links in the