From 2da46501ca8d2b725cbfbc09fb5210954d0a04bf Mon Sep 17 00:00:00 2001 From: Greg Heartsfield Date: Wed, 24 Nov 2021 15:44:18 -0600 Subject: [PATCH] Note/link for message propagation --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.rs b/src/main.rs index b33f668..3b63be8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -41,6 +41,9 @@ fn main() -> Result<(), Error> { Ok(()) } +// Todo: Implement sending messages to all other clients; example: +// https://github.com/snapview/tokio-tungstenite/blob/master/examples/server.rs + // Handles new TCP connections async fn nostr_server(stream: TcpStream) { let addr = stream