Skip to main content

set_displayname_route

Function set_displayname_route 

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

ยงPUT /_matrix/client/r0/profile/{userId}/displayname

Updates the displayname.

  • Also makes sure other users receive the update using presence EDUs