mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Fix View Once Video, fix Permissions Popup
* Ensure we're ready to handle incoming View Once messages * Ensure that permissions popup initializes fully
This commit is contained in:
committed by
Ken Powers
parent
483b2b3ff6
commit
edba3a522a
@@ -892,7 +892,10 @@
|
||||
}
|
||||
|
||||
const firstAttachment = attachments[0];
|
||||
if (!GoogleChrome.isImageTypeSupported(firstAttachment.contentType)) {
|
||||
if (
|
||||
!GoogleChrome.isImageTypeSupported(firstAttachment.contentType) &&
|
||||
!GoogleChrome.isVideoTypeSupported(firstAttachment.contentType)
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -976,6 +979,7 @@
|
||||
sticker: null,
|
||||
preview: [],
|
||||
});
|
||||
this.trigger('content-changed');
|
||||
|
||||
await window.Signal.Data.saveMessage(this.attributes, {
|
||||
Message: Whisper.Message,
|
||||
|
||||
Reference in New Issue
Block a user