From 48da76c6a3a6607d30eec614511a795e811dc971 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Sat, 28 Mar 2026 22:24:54 -0400 Subject: [PATCH] Activates the decryption for all types of files if it matches the decryption url with the cipher info --- .../amethyst/service/okhttp/EncryptedBlobInterceptor.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/service/okhttp/EncryptedBlobInterceptor.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/service/okhttp/EncryptedBlobInterceptor.kt index 7fd03c646..3ddd56c09 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/service/okhttp/EncryptedBlobInterceptor.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/service/okhttp/EncryptedBlobInterceptor.kt @@ -33,9 +33,9 @@ class EncryptedBlobInterceptor( val body = peekBody(Long.MAX_VALUE) // Only tries to decrypt if the content-type is a byte array - if (body.contentType().toString() != "application/octet-stream") { - return null - } + // if (body.contentType().toString() != "application/octet-stream") { + // return null + // } val bytes = body.bytes()