Skip to content

Commit 105ac7b

Browse files
committed
Add extra logs to make sure the right code is running
1 parent 3cfc7f3 commit 105ac7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/auth/RustMatrixAuthenticationService.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ class RustMatrixAuthenticationService(
379379

380380
private suspend fun MatrixClient.waitForSessionVerification(timeout: Duration = 10.seconds) {
381381
withTimeoutOrNull(timeout) {
382+
Timber.d("Starting sync and waiting up to $timeout for the verification state to be verified")
382383
// Session verification depends on the sync service to receive updates so we start a temporary sync here
383384
syncService.startSync()
384385
sessionVerificationService.sessionVerifiedStatus.filterIsInstance<SessionVerifiedStatus.Verified>().first()

0 commit comments

Comments
 (0)