mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
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() {
|
||||
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()
|
||||
|
|
Loading…
Reference in a new issue