Skip to content

Commit

Permalink
cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
BillCarsonFr committed Nov 23, 2021
1 parent 77454c8 commit 31eeb06
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ internal class EnsureOlmSessionsForDevicesAction @Inject constructor(

val results = MXUsersDevicesMap<MXOlmSessionResult>()

for ((userId, deviceInfo) in devicesByUser) {
for (deviceInfo in deviceInfo) {
for ((userId, deviceList) in devicesByUser) {
for (deviceInfo in deviceList) {
val deviceId = deviceInfo.deviceId
val key = deviceInfo.identityKey()
if (key == null) {
Expand Down Expand Up @@ -153,8 +153,7 @@ internal class EnsureOlmSessionsForDevicesAction @Inject constructor(
Timber.tag(loggerTag.value).d("verifyKeyAndStartSession() : Started new sessionId $sessionId for device $userId:$deviceId")
}
} else {
Timber.tag(loggerTag.value).e("verifyKeyAndStartSession() : Unable to verify signature on one-time key for device " + userId +
":" + deviceId + " Error " + errorMessage)
Timber.tag(loggerTag.value).e("verifyKeyAndStartSession() : Unable to verify otk signature for $userId:$deviceId: $errorMessage")
}
}

Expand Down

0 comments on commit 31eeb06

Please sign in to comment.