Allow link previews without image or title
This commit is contained in:
parent
aad9a533bc
commit
27736baafb
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;
|
return null;
|
||||||
}
|
}
|
||||||
// Story link previews don't have to correspond to links in the
|
// Story link previews don't have to correspond to links in the
|
||||||
|
|
Loading…
Add table
Reference in a new issue