immediate sub to hello and bye

This commit is contained in:
Evan Feenstra
2023-07-07 12:55:58 -07:00
parent b796cb902a
commit c8501fdd10

View File

@@ -28,7 +28,8 @@ pub fn start_broker(
let (mut link_tx, mut link_rx) = broker.link("localclient")?;
link_tx.subscribe("#").unwrap();
link_tx.subscribe(format!("+/{}", topics::HELLO));
link_tx.subscribe(format!("+/{}", topics::BYE));
let auth_sender_ = auth_sender.clone();
std::thread::spawn(move || {