This commit is contained in:
Peter Maquiran
2022-02-07 20:52:07 +01:00
parent c74594fe49
commit cef4c39d6e
5 changed files with 18 additions and 6 deletions
+8 -3
View File
@@ -162,9 +162,12 @@ export class AuthService {
await this.storage.set(guid.path, message.file.image_url).then(() => {
console.log('add picture to chat IMAGE SAVED')
message.getFileFromDb()
return true
});
} catch(e) {}
return true
} catch(e) {
return false
}
} else {
try {
@@ -175,7 +178,9 @@ export class AuthService {
message.attachments[0].message_link = url_no_options
return true
} catch(e) {}
} catch(e) {
return false
}
}
}