Fix inbound link preview images
This commit is contained in:
parent
aeff7540c8
commit
f6dcf91dbf
1 changed files with 1 additions and 1 deletions
|
@ -1882,7 +1882,7 @@ class MessageReceiverInner extends EventTarget {
|
||||||
decrypted.preview = (decrypted.preview || []).map(item => ({
|
decrypted.preview = (decrypted.preview || []).map(item => ({
|
||||||
...item,
|
...item,
|
||||||
date: this.cleanLinkPreviewDate(item.date),
|
date: this.cleanLinkPreviewDate(item.date),
|
||||||
...(item.image ? this.cleanAttachment(item.image) : {}),
|
...(item.image ? { image: this.cleanAttachment(item.image) } : {}),
|
||||||
}));
|
}));
|
||||||
decrypted.contact = (decrypted.contact || []).map(item => {
|
decrypted.contact = (decrypted.contact || []).map(item => {
|
||||||
const { avatar } = item;
|
const { avatar } = item;
|
||||||
|
|
Loading…
Reference in a new issue