From 7edf179ec93e61973f759efa1799fa36827c127b Mon Sep 17 00:00:00 2001 From: litruv Date: Sun, 1 Nov 2026 03:45:49 +1100 Subject: [PATCH] Drop the explicit undefined initialisation of encInfo. --- src/app/pages/client/ClientNonUIFeatures.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);