Allow link previews without image or title
This commit is contained in:
parent
710f0376bd
commit
b402aaa36e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue