Update TokioXmppEvent::Online handler with update jid arg
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
fa118433df
commit
a8c33fe911
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ impl ClientBuilder<'_> {
|
||||||
};
|
};
|
||||||
|
|
||||||
match event {
|
match event {
|
||||||
TokioXmppEvent::Online => {
|
TokioXmppEvent::Online(_) => {
|
||||||
let presence = ClientBuilder::make_initial_presence(&disco, &node).into();
|
let presence = ClientBuilder::make_initial_presence(&disco, &node).into();
|
||||||
let packet = Packet::Stanza(presence);
|
let packet = Packet::Stanza(presence);
|
||||||
sender_tx.unbounded_send(packet)
|
sender_tx.unbounded_send(packet)
|
||||||
|
|
Loading…
Reference in a new issue