Improve logging around edit and sync messages.

This commit is contained in:
Greyson Parrelli
2023-06-29 15:55:12 -04:00
parent 8714e4298e
commit fe20de2995
2 changed files with 4 additions and 2 deletions

View File

@@ -153,7 +153,7 @@ public class IndividualSendJob extends PushSendJob {
}
try {
log(TAG, String.valueOf(message.getSentTimeMillis()), "Sending message: " + messageId + ", Recipient: " + message.getThreadRecipient().getId() + ", Thread: " + threadId + ", Attachments: " + buildAttachmentString(message.getAttachments()));
log(TAG, String.valueOf(message.getSentTimeMillis()), "Sending message: " + messageId + ", Recipient: " + message.getThreadRecipient().getId() + ", Thread: " + threadId + ", Attachments: " + buildAttachmentString(message.getAttachments()) + ", Editing: " + (originalEditedMessage != null ? originalEditedMessage.getDateSent() : "N/A"));
RecipientUtil.shareProfileIfFirstSecureMessage(message.getThreadRecipient());