tokio-xmpp: save bound_jid and features in ClientWorker

This fixes a regression from 10f1b3663c
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
This commit is contained in:
Jonas Schäfer 2026-06-11 14:23:02 +02:00
commit 09640de5f2

View file

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