From 40c11bfdc38a12d61e7f488eb962a1c8c1058ac4 Mon Sep 17 00:00:00 2001 From: Mohamad Jaara Date: Tue, 7 Jan 2025 11:37:08 +0100 Subject: [PATCH] fix --- .../wire/kalium/logic/feature/UserSessionScope.kt | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/UserSessionScope.kt b/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/UserSessionScope.kt index cfc17dd844..9f0beaf922 100644 --- a/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/UserSessionScope.kt +++ b/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/UserSessionScope.kt @@ -2164,22 +2164,16 @@ class UserSessionScope internal constructor( kaliumLogger = userScopedLogger, ) - val getTeamUrlUseCase: GetTeamUrlUseCase by lazy { - GetTeamUrlUseCase( + val getTeamUrlUseCase: GetTeamUrlUseCase + get() = GetTeamUrlUseCase( userId, authenticationScope.serverConfigRepository, ) - } - val getTeamUrlUseCase: GetTeamUrlUseCase by lazy { - GetTeamUrlUseCase( - userId, - authenticationScope.serverConfigRepository, - ) + private val inCallReactionsRepository: InCallReactionsRepository by lazy { + InCallReactionsDataSource() } - private val inCallReactionsRepository: InCallReactionsRepository = InCallReactionsDataSource() - /** * This will start subscribers of observable work per user session, as long as the user is logged in. * When the user logs out, this work will be canceled.