mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 09:36:47 +00:00
Add header to disable messages on authenticated websocket
This commit is contained in:
1 parent
8deb5a803a
commit
ac720595e6
10 files changed
+406
-55
No files matched your search
@@ -62,7 +62,7 @@ public class WebsocketClientSession implements Session.Listener.AutoDemanding {
|
||||
log.info("received response message {}", response.getStatus());
|
||||
final CompletableFuture<WebSocketResponseMessage> future = responseFutures.remove(response.getRequestId());
|
||||
if (future == null) {
|
||||
throw new IllegalArgumentException("Received response with no matching request: {}" + response.getRequestId());
|
||||
throw new IllegalArgumentException("Received response with no matching request: " + response.getRequestId());
|
||||
}
|
||||
future.complete(response);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user