From 8d668cc118349433cedcadbea2e1f9827de3954f Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Wed, 27 Oct 2021 17:53:53 +0100 Subject: [PATCH] avoiding redundant session id filesDir opening, this provision is called multiple times each time we open a room --- .../org/matrix/android/sdk/internal/session/SessionModule.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/SessionModule.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/SessionModule.kt index dc59277f64..ebc2176a13 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/SessionModule.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/SessionModule.kt @@ -163,6 +163,7 @@ internal abstract class SessionModule { @JvmStatic @Provides @SessionFilesDirectory + @SessionScope fun providesFilesDir(@UserMd5 userMd5: String, @SessionId sessionId: String, context: Context): File {