Update TokioXmppEvent::Online handler with update jid arg

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-10-19 17:59:24 +02:00
parent fa118433df
commit a8c33fe911
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -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)