mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 02:08:40 +00:00
Ensure that destinationUuid is always populated.
This commit is contained in:
committed by
Cody Henthorne
parent
4635a77fbc
commit
eccb796199
@@ -221,7 +221,8 @@ public class SignalServiceMessageReceiver {
|
||||
entity.getContent(),
|
||||
entity.getServerTimestamp(),
|
||||
messageResult.getServerDeliveredTimestamp(),
|
||||
entity.getServerUuid());
|
||||
entity.getServerUuid(),
|
||||
entity.getDestinationUuid());
|
||||
}
|
||||
|
||||
callback.onMessage(envelope);
|
||||
|
||||
@@ -99,12 +99,14 @@ public class SignalServiceEnvelope {
|
||||
byte[] content,
|
||||
long serverReceivedTimestamp,
|
||||
long serverDeliveredTimestamp,
|
||||
String uuid)
|
||||
String uuid,
|
||||
String destinationUuid)
|
||||
{
|
||||
Envelope.Builder builder = Envelope.newBuilder()
|
||||
.setType(Envelope.Type.valueOf(type))
|
||||
.setTimestamp(timestamp)
|
||||
.setServerTimestamp(serverReceivedTimestamp);
|
||||
.setServerTimestamp(serverReceivedTimestamp)
|
||||
.setDestinationUuid(destinationUuid);
|
||||
|
||||
if (uuid != null) {
|
||||
builder.setServerGuid(uuid);
|
||||
|
||||
Reference in New Issue
Block a user