Skip to main content

set_profile_field_route

Function set_profile_field_route 

Source
pub(crate) async fn set_profile_field_route(
    __arg0: State<State>,
    __arg1: ClientIp,
    body: Args<Request>,
) -> Result<Response>
Expand description

§PUT /_matrix/client/v3/profile/{user_id}/{field}

Updates the profile key-value field of a user. Stabilized as part of Matrix 1.16 (MSC4133); ruma’s history block keeps the unstable uk.tcpip.msc4133 path mounted for older clients.

This also handles the avatar_url and displayname being updated.