From 930b8da3b3197c5aea78d66a1c82786ea4340d4b Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 18 Dec 2020 09:53:59 +0100 Subject: [PATCH] Typo in comment --- .../sdk/internal/session/identity/IdentityBulkLookupTask.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/identity/IdentityBulkLookupTask.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/identity/IdentityBulkLookupTask.kt index 3b0d514cf3..a03bef9501 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/identity/IdentityBulkLookupTask.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/identity/IdentityBulkLookupTask.kt @@ -93,7 +93,7 @@ internal class DefaultIdentityBulkLookupTask @Inject constructor( } catch (failure: Throwable) { // Catch invalid hash pepper and retry if (canRetry && failure is Failure.ServerError && failure.error.code == MatrixError.M_INVALID_PEPPER) { - // This is not documented, by the error can contain the new pepper! + // This is not documented, but the error can contain the new pepper! if (!failure.error.newLookupPepper.isNullOrEmpty()) { // Store it and use it right now hashDetailResponse.copy(pepper = failure.error.newLookupPepper)