Link Previews
This commit is contained in:
parent
91ef39e482
commit
813924685e
36 changed files with 2298 additions and 134 deletions
|
@ -1371,6 +1371,14 @@ MessageReceiver.prototype.extend({
|
|||
promises.push(this.handleAttachment(attachment));
|
||||
}
|
||||
|
||||
const previewCount = (decrypted.preview || []).length;
|
||||
for (let i = 0; i < previewCount; i += 1) {
|
||||
const preview = decrypted.preview[i];
|
||||
if (preview.image) {
|
||||
promises.push(this.handleAttachment(preview.image));
|
||||
}
|
||||
}
|
||||
|
||||
if (decrypted.contact && decrypted.contact.length) {
|
||||
const contacts = decrypted.contact;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue