mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 16:16:47 +00:00
Populate destination UUID for messages delivered via websocket
This commit is contained in:
1 parent
e23a1fac50
commit
606ddd8a9b
1 file changed
+5
+5
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user