mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 05:28:05 +01:00
Populate destination UUID for messages delivered via websocket
This commit is contained in:
committed by
Jon Chambers
parent
e23a1fac50
commit
606ddd8a9b
@@ -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