diff --git a/gateway/src/node/client_handling/websocket/connection_handler/fresh.rs b/gateway/src/node/client_handling/websocket/connection_handler/fresh.rs index 34a313dd0d..8b96a5bda0 100644 --- a/gateway/src/node/client_handling/websocket/connection_handler/fresh.rs +++ b/gateway/src/node/client_handling/websocket/connection_handler/fresh.rs @@ -272,7 +272,7 @@ where .inspect_err(|err| error!("failed to encrypt client message: {err}")) .ok() }) - .map(|msg| Ok(msg)) + .map(Ok) .collect(); let mut send_stream = futures::stream::iter(messages); match self.socket_connection {