appCoroutineScope does not have to be a class member.

This commit is contained in:
Benoit Marty 2025-10-06 15:43:12 +02:00 committed by Benoit Marty
parent b94925c878
commit d1cbf69af8

View file

@ -121,9 +121,9 @@ import org.matrix.rustcomponents.sdk.SyncService as ClientSyncService
class RustMatrixClient(
private val innerClient: Client,
private val sessionStore: SessionStore,
private val appCoroutineScope: CoroutineScope,
private val sessionDelegate: RustClientSessionDelegate,
private val innerSyncService: ClientSyncService,
appCoroutineScope: CoroutineScope,
dispatchers: CoroutineDispatchers,
baseCacheDirectory: File,
clock: SystemClock,