Skip to content

Commit

Permalink
Do not allow saving pending media.
Browse files Browse the repository at this point in the history
  • Loading branch information
greyson-signal committed Jan 24, 2021
1 parent 26e0e09 commit b59769a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ static MenuState getMenuState(@NonNull Recipient conversationRecipient,
.shouldShowSaveAttachmentAction(!actionMessage &&
!viewOnce &&
messageRecord.isMms() &&
!messageRecord.isMediaPending() &&
!messageRecord.isMmsNotification() &&
((MediaMmsMessageRecord)messageRecord).containsMediaSlide() &&
((MediaMmsMessageRecord)messageRecord).getSlideDeck().getStickerSlide() == null)
Expand Down

0 comments on commit b59769a

Please sign in to comment.