mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-25 10:09:08 -05:00
fix: syntax error
This commit is contained in:
parent
4fe6191aa3
commit
77892b2064
|
@ -478,7 +478,7 @@ async fn nostr_server(
|
|||
// send responses automatically.
|
||||
continue;
|
||||
},
|
||||
Some(Err(WsError::Capacity(MessageTooLong(size, max_size)))) => {
|
||||
Some(Err(WsError::Capacity(MessageTooLong{size, max_size}))) => {
|
||||
ws_stream.send(
|
||||
make_notice_message(
|
||||
&format!("message too large ({} > {})",size, max_size))).await.ok();
|
||||
|
|
Loading…
Reference in New Issue
Block a user