Fix deviceId log for retry receipts.

This commit is contained in:
Greyson Parrelli
2021-08-25 19:33:25 -04:00
parent fd3ef0f557
commit 4d985255a8

View File

@@ -1802,7 +1802,7 @@ public final class MessageContentProcessor {
long sentTimestamp = decryptionErrorMessage.getTimestamp();
warn(content.getTimestamp(), "[RetryReceipt] Received a retry receipt from " + senderRecipient.getId() + ", device " + decryptionErrorMessage.getDeviceId() + " for message with timestamp " + sentTimestamp + ".");
warn(content.getTimestamp(), "[RetryReceipt] Received a retry receipt from " + senderRecipient.getId() + ", device " + content.getSenderDevice() + " for message with timestamp " + sentTimestamp + ".");
if (!senderRecipient.hasUuid()) {
warn(content.getTimestamp(), "[RetryReceipt] Requester " + senderRecipient.getId() + " somehow has no UUID! timestamp: " + sentTimestamp);