From 09640de5f2b77a96f36efdabdbe8ce0825bfe8d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Thu, 11 Jun 2026 14:23:02 +0200 Subject: [PATCH] tokio-xmpp: save bound_jid and features in ClientWorker This fixes a regression from 10f1b3663ccd2ecc25db4b543294d45e3dbe9ad7 reported by @full-bars in a discussion on an unrelated issue [1]. skip-changelog, because the regression has not been released yet. [1]: https://gitlab.com/xmpp-rs/xmpp-rs/-/merge_requests/675#note_3445588227 --- tokio-xmpp/src/client/worker.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tokio-xmpp/src/client/worker.rs b/tokio-xmpp/src/client/worker.rs index 9f26ad53..c2652a23 100644 --- a/tokio-xmpp/src/client/worker.rs +++ b/tokio-xmpp/src/client/worker.rs @@ -81,6 +81,8 @@ impl ClientWorker { bound_jid, features, }) => { + self.bound_jid = Some(bound_jid.clone()); + self.features = Some(features.clone()); self.iq_response_tracker .set_account_jid(bound_jid.to_bare());