From 61c522dcc0e350f59bd69e140e588e74b3d6a96b Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 29 Apr 2021 20:16:52 +0200 Subject: [PATCH] Fix formatting --- src/client_server/profile.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/client_server/profile.rs b/src/client_server/profile.rs index 79d0077..882b02e 100644 --- a/src/client_server/profile.rs +++ b/src/client_server/profile.rs @@ -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( )? .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, )