Browse Source

Fix formatting

ruma-client
Jonas Platte 5 years ago
parent
commit
ac5dd5e251
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67
  1. 10
      src/client_server/profile.rs

10
src/client_server/profile.rs

@ -49,8 +49,9 @@ pub async fn set_displayname_route( @@ -49,8 +49,9 @@ pub async fn set_displayname_route(
)?
.ok_or_else(|| {
Error::bad_database(
"Tried to send displayname update for user not in the room.",
)
"Tried to send displayname update for user not in the \
room.",
)
})?
.content,
)
@ -149,8 +150,9 @@ pub async fn set_avatar_url_route( @@ -149,8 +150,9 @@ pub async fn set_avatar_url_route(
)?
.ok_or_else(|| {
Error::bad_database(
"Tried to send displayname update for user not in the room.",
)
"Tried to send displayname update for user not in the \
room.",
)
})?
.content,
)

Loading…
Cancel
Save