Put UUID on server-generated delivery receipt

This commit is contained in:
Moxie Marlinspike committed 2019-11-20 12:36:22 -08:00
1 parent 2b987e6e93
commit 99760ba6a0
1 file changed
+1
@@ -32,6 +32,7 @@ public class ReceiptSender {
Set<Device> destinationDevices = destinationAccount.getDevices();
Envelope.Builder message = Envelope.newBuilder()
.setSource(source.getNumber())
.setSourceUuid(source.getUuid().toString())
.setSourceDevice((int) source.getAuthenticatedDevice().get().getId())
.setTimestamp(messageId)
.setType(Envelope.Type.RECEIPT);