Populate destination UUID for messages delivered via websocket

This commit is contained in:
Jon Chambers 2021-11-29 16:06:47 -05:00 committed by Jon Chambers
parent e23a1fac50
commit 606ddd8a9b
1 changed files with 5 additions and 0 deletions

View File

@ -313,6 +313,11 @@ public class WebSocketConnection implements MessageAvailabilityListener, Displac
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());
final Envelope envelope = builder.build();