Ensure that destinationUuid is always populated.
This commit is contained in:
parent
4635a77fbc
commit
eccb796199
2 changed files with 6 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue