From a8c33fe9116f5ee2cb13a99afa890c77efee3b1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sat, 19 Oct 2019 17:59:24 +0200 Subject: [PATCH] Update TokioXmppEvent::Online handler with update jid arg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- xmpp-rs/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmpp-rs/src/lib.rs b/xmpp-rs/src/lib.rs index 486d6326..4c96db27 100644 --- a/xmpp-rs/src/lib.rs +++ b/xmpp-rs/src/lib.rs @@ -201,7 +201,7 @@ impl ClientBuilder<'_> { }; match event { - TokioXmppEvent::Online => { + TokioXmppEvent::Online(_) => { let presence = ClientBuilder::make_initial_presence(&disco, &node).into(); let packet = Packet::Stanza(presence); sender_tx.unbounded_send(packet)