0
0
mirror of https://github.com/signalapp/Signal-Server.git synced 2024-09-20 20:03:07 +02:00

Put UUID on server-generated delivery receipt

This commit is contained in:
Moxie Marlinspike 2019-11-01 12:41:25 -07:00
parent 2b987e6e93
commit 99760ba6a0

View File

@ -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);