diff --git a/changelog.d/6706.bugfix b/changelog.d/6706.bugfix new file mode 100644 index 0000000000..51d5248374 --- /dev/null +++ b/changelog.d/6706.bugfix @@ -0,0 +1 @@ +Fix message content sometimes appearing in the log diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/verification/VerificationMessageProcessor.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/verification/VerificationMessageProcessor.kt index 821663bcff..8a805a5588 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/verification/VerificationMessageProcessor.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/verification/VerificationMessageProcessor.kt @@ -63,7 +63,7 @@ internal class VerificationMessageProcessor @Inject constructor( // the message should be ignored by the receiver. if (!VerificationService.isValidRequest(event.ageLocalTs, clock.epochMillis())) return Unit.also { - Timber.d("## SAS Verification live observer: msgId: ${event.eventId} is outdated age:$event.ageLocalTs ms") + Timber.d("## SAS Verification live observer: msgId: ${event.eventId} is outdated age:${event.ageLocalTs} ms") } Timber.v("## SAS Verification live observer: received msgId: ${event.eventId} type: ${event.getClearType()}")