Set source UUID when delivering envelopes from message cache/db on websocket

This commit is contained in:
Ehren Kret
2020-10-27 20:42:21 -05:00
committed by Jon Chambers
parent fb2baad7cc
commit 26870d134f
2 changed files with 74 additions and 7 deletions

View File

@@ -181,6 +181,9 @@ public class WebSocketConnection implements MessageAvailabilityListener, Displac
if (!Util.isEmpty(message.getSource())) {
builder.setSource(message.getSource())
.setSourceDevice(message.getSourceDevice());
if (message.getSourceUuid() != null) {
builder.setSourceUuid(message.getSourceUuid().toString());
}
}
if (message.getMessage() != null) {