Improving timestamp logging around retry receipts.
This commit is contained in:
parent
beff4c1d1d
commit
650956ea0a
1 changed files with 4 additions and 2 deletions
|
@ -250,12 +250,14 @@ public class SignalServiceMessageSender {
|
|||
throws IOException, UntrustedIdentityException
|
||||
|
||||
{
|
||||
Log.d(TAG, "[" + errorMessage.getTimestamp() + "] Sending a retry receipt.");
|
||||
long timestamp = System.currentTimeMillis();
|
||||
|
||||
Log.d(TAG, "[" + timestamp + "] Sending a retry receipt for target message " + errorMessage.getTimestamp());
|
||||
|
||||
PlaintextContent content = new PlaintextContent(errorMessage);
|
||||
EnvelopeContent envelopeContent = EnvelopeContent.plaintext(content, groupId);
|
||||
|
||||
sendMessage(recipient, sealedSenderAccess, System.currentTimeMillis(), envelopeContent, false, null, null, false, false);
|
||||
sendMessage(recipient, sealedSenderAccess, timestamp, envelopeContent, false, null, null, false, false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue