mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 09:16:53 +00:00
Include server GUID when sending messages over websocket
This commit is contained in:
1 parent
d59eabd9d7
commit
00c9023e74
2 files changed
+33
-5
No files matched your search
+2
@@ -298,6 +298,8 @@ public class WebSocketConnection implements MessageAvailabilityListener, Displac
|
||||
builder.setRelay(message.getRelay());
|
||||
}
|
||||
|
||||
builder.setServerGuid(message.getGuid().toString());
|
||||
|
||||
final Envelope envelope = builder.build();
|
||||
|
||||
if (envelope.getSerializedSize() > MAX_DESKTOP_MESSAGE_SIZE && isDesktopClient) {
|
||||
|
||||
Reference in new issue
Block a user