Do not try to download text attachments
This commit is contained in:
parent
0a0fabd2ca
commit
0f16ef5dd6
5 changed files with 6 additions and 7 deletions
|
@ -2569,7 +2569,8 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
|||
|
||||
const shouldHoldOffDownload =
|
||||
(isStory(message.attributes) && !queueStoryForDownload) ||
|
||||
((isImage(attachments) || isVideo(attachments)) &&
|
||||
(!isStory(message.attributes) &&
|
||||
(isImage(attachments) || isVideo(attachments)) &&
|
||||
isInCall(reduxState));
|
||||
|
||||
if (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue