diff --git a/src/app/pages/client/ClientNonUIFeatures.tsx b/src/app/pages/client/ClientNonUIFeatures.tsx index 1c3a268d..f8522209 100644 --- a/src/app/pages/client/ClientNonUIFeatures.tsx +++ b/src/app/pages/client/ClientNonUIFeatures.tsx @@ -554,7 +554,7 @@ function AndroidShareIntentHandler() { const originalFile = await materializeSharedFile(sharedFile, share.receivedAt); let fileToUpload = originalFile; - let encInfo: any = undefined; + let encInfo: any; if (room.hasEncryptionStateEvent()) { const encrypted = await encryptFile(originalFile);