mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 21:47:02 +00:00
Remove whitespace
This commit is contained in:
@@ -181,9 +181,6 @@ pub enum ClientboundNotification {
|
||||
id: String,
|
||||
update: Value,
|
||||
},
|
||||
Pong {
|
||||
data: Vec<u8>
|
||||
}
|
||||
}
|
||||
|
||||
impl ClientboundNotification {
|
||||
|
||||
@@ -81,7 +81,7 @@ async fn accept(stream: TcpStream) {
|
||||
.peer_addr()
|
||||
.expect("Connected streams should have a peer address.");
|
||||
let (sender, receiver) = oneshot::channel::<MSGFormat>();
|
||||
|
||||
|
||||
let ws_stream = async_tungstenite::accept_hdr_async_with_config(stream, HeaderCallback { sender }, None)
|
||||
.await
|
||||
.expect("Error during websocket handshake.");
|
||||
|
||||
Reference in New Issue
Block a user