Populate destination UUID for messages delivered via websocket
This commit is contained in:
parent
e23a1fac50
commit
606ddd8a9b
|
@ -313,6 +313,11 @@ public class WebSocketConnection implements MessageAvailabilityListener, Displac
|
||||||
builder.setRelay(message.getRelay());
|
builder.setRelay(message.getRelay());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO Destination UUIDs will be present for all messages after 2021-12-16
|
||||||
|
if (message.getDestinationUuid() != null) {
|
||||||
|
builder.setDestinationUuid(message.getDestinationUuid().toString());
|
||||||
|
}
|
||||||
|
|
||||||
builder.setServerGuid(message.getGuid().toString());
|
builder.setServerGuid(message.getGuid().toString());
|
||||||
|
|
||||||
final Envelope envelope = builder.build();
|
final Envelope envelope = builder.build();
|
||||||
|
|
Loading…
Reference in New Issue