diff --git a/muxplex/main.py b/muxplex/main.py index b3f2623..05ef95e 100644 --- a/muxplex/main.py +++ b/muxplex/main.py @@ -785,9 +785,7 @@ async def federation_terminal_ws_proxy(websocket: WebSocket, remote_id: int) -> async with websockets.connect( ws_url, subprotocols=[Subprotocol("tty")], - additional_headers={"Authorization": f"Bearer {remote_key}"} - if remote_key - else {}, + additional_headers={"Authorization": f"Bearer {remote_key}"} if remote_key else {}, ssl=ssl_context, ) as remote_ws: