From a204e667098c13ceee8e16630b7426a11c7f93ef Mon Sep 17 00:00:00 2001 From: Astro Date: Sun, 23 Jul 2017 02:47:07 +0200 Subject: [PATCH] echo_component: TODO --- examples/echo_component.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/echo_component.rs b/examples/echo_component.rs index 7ea1b7dd..076bb170 100644 --- a/examples/echo_component.rs +++ b/examples/echo_component.rs @@ -56,6 +56,7 @@ fn main() { if event.is_online() { println!("Online!"); + // TODO: replace these hardcoded JIDs let presence = make_presence(Jid::from_str("test@component.linkmauve.fr/coucou").unwrap(), Jid::from_str("linkmauve@linkmauve.fr").unwrap()); send(presence); } else if let Some(message) = event.into_stanza()