echo_component: TODO
This commit is contained in:
parent
993fdcab8f
commit
a204e66709
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ fn main() {
|
||||||
if event.is_online() {
|
if event.is_online() {
|
||||||
println!("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());
|
let presence = make_presence(Jid::from_str("test@component.linkmauve.fr/coucou").unwrap(), Jid::from_str("linkmauve@linkmauve.fr").unwrap());
|
||||||
send(presence);
|
send(presence);
|
||||||
} else if let Some(message) = event.into_stanza()
|
} else if let Some(message) = event.into_stanza()
|
||||||
|
|
Loading…
Reference in a new issue