nostr-rs-relay

My dev fork of nostr-rs-relay
git clone git://jb55.com/nostr-rs-relay
Log | Files | Refs | README | LICENSE

commit 77892b20646f865a970826acc77a2da1b17254fe
parent 4fe6191aa3607988ce4b4510cbcdc9d0e65676a0
Author: slaninas <slaninas@pm.me>
Date:   Mon, 22 Aug 2022 05:11:13 -0700

fix: syntax error

Diffstat:
Msrc/main.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs @@ -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();