notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit f4d496012be57e68264a88e3d60265f6d50d1d37
parent 632e5b89d14e40b05e3dea8732f8cfaff71d73b4
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 29 Apr 2024 14:05:43 -0700

log relay subscriptions

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Menostr/src/relay/mod.rs | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/enostr/src/relay/mod.rs b/enostr/src/relay/mod.rs @@ -1,6 +1,7 @@ use ewebsock::{WsMessage, WsReceiver, WsSender}; use crate::{ClientMessage, Filter, Result}; +use log::info; use std::fmt; use std::hash::{Hash, Hasher}; @@ -77,6 +78,10 @@ impl Relay { } pub fn subscribe(&mut self, subid: String, filters: Vec<Filter>) { + info!( + "sending '{}' subscription to relay pool: {:?}", + subid, filters + ); self.send(&ClientMessage::req(subid, filters)); } }