mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-04-17 21:57:57 -04:00
Fixes #5902 ## What this PR does Keeps the existing `Client::send()` demo but extends it with: - A doc comment on `get_profile` explaining the spec behaviour and the 401 condition on (Synapse's `require_auth_for_profile_requests`) - A `get_profile_authenticated()` fallback using `account().fetch_user_profile()` which internally uses `force_auth()`