avoiding redundant session id filesDir opening, this provision is called multiple times each time we open a room
This commit is contained in:
parent
54daee2798
commit
8d668cc118
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue