Skip to main contentModule profile
Source use axum::extract::State; ๐ use futures::StreamExt; ๐ use ruma::UserId; ๐ use ruma::api::client::profile::PropagateTo; ๐ use ruma::api::client::profile::delete_profile_field; ๐ use ruma::api::client::profile::get_profile; ๐ use ruma::api::client::profile::get_profile_field; ๐ use ruma::api::client::profile::get_profile_field::v3::Response as GetProfileFieldResponse; ๐ use ruma::api::client::profile::set_profile_field; ๐ use ruma::profile::ProfileFieldName; ๐ use ruma::profile::ProfileFieldValue; ๐ use tuwunel_core::Err; ๐ use tuwunel_core::Result; ๐ use tuwunel_core::err; ๐ use tuwunel_core::utils::BoolExt; ๐ use tuwunel_service::Services; ๐ use tuwunel_service::presence::Ping; ๐ use tuwunel_service::profile::Propagation; ๐ use crate::ClientIp; ๐ use crate::Ruma; ๐ use crate::utils::may_set_profile_field; ๐
- delete_profile_field_route ๐
DELETE /_matrix/client/v3/profile/{user_id}/{field}- field_check ๐
- Refuses a profile field change withheld by
profile.enable_set_displayname
or profile.enable_set_avatar_url. - get_profile_field_route ๐
GET /_matrix/client/v3/profile/{userId}/{field}- get_profile_route ๐
GET /_matrix/client/v3/profile/{userId}- resolve_propagation ๐
- Resolve a
PropagateTo request value against the server default. - set_profile_field_route ๐
PUT /_matrix/client/v3/profile/{user_id}/{field}- shared_rooms_check ๐
- Refuses a profile read withheld by
profile.limit_requests_to_users_who_share_rooms.