crypto: adjust log when rejecting duplicate message index
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run

This commit is contained in:
Tulir Asokan 2024-08-07 23:32:17 +03:00
commit 6c836c6ebd

View file

@ -624,7 +624,7 @@ func (store *SQLCryptoStore) ValidateMessageIndex(ctx context.Context, senderKey
Str("expected_event_id", expectedEventID.String()).
Int64("expected_timestamp", expectedTimestamp).
Int64("actual_timestamp", timestamp).
Msg("Failed to validate that message index wasn't duplicated")
Msg("Rejecting different event with duplicate message index")
return false, nil
}
return true, nil