mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-23 18:08:05 +01:00
Ensure that we resolve attachments before displaying them
This commit is contained in:
@@ -730,7 +730,7 @@ export function isDownloaded(attachment?: AttachmentType): boolean {
|
||||
}
|
||||
|
||||
export function hasNotResolved(attachment?: AttachmentType): boolean {
|
||||
return Boolean(attachment && !attachment.url);
|
||||
return Boolean(attachment && !attachment.url && !attachment.textAttachment);
|
||||
}
|
||||
|
||||
export function isDownloading(attachment?: AttachmentType): boolean {
|
||||
|
||||
Reference in New Issue
Block a user