avoiding redundant session id filesDir opening, this provision is called multiple times each time we open a room

This commit is contained in:
Adam Brown 2021-10-27 17:53:53 +01:00
parent 54daee2798
commit 8d668cc118
1 changed files with 1 additions and 0 deletions

View File

@ -163,6 +163,7 @@ internal abstract class SessionModule {
@JvmStatic @JvmStatic
@Provides @Provides
@SessionFilesDirectory @SessionFilesDirectory
@SessionScope
fun providesFilesDir(@UserMd5 userMd5: String, fun providesFilesDir(@UserMd5 userMd5: String,
@SessionId sessionId: String, @SessionId sessionId: String,
context: Context): File { context: Context): File {