Align status text with server url.
authorCamila <hello@camila.codes>
Tue, 30 Mar 2021 18:53:03 +0000 (20:53 +0200)
committerallexzander (Rebase PR Action) <allexzander@users.noreply.github.com>
Thu, 8 Apr 2021 07:10:59 +0000 (07:10 +0000)
Cleans the space in the beginning of the string when there is no emoji
set.

Signed-off-by: Camila <hello@camila.codes>
src/gui/userstatus.cpp

index 05d5b93c26bd6931b67450b54feaca05b2ecada2..3637b4fd9128563c0647e9752c4560c59137c9f6 100644 (file)
@@ -107,7 +107,7 @@ UserStatus::Status UserStatus::status() const
 
 QString UserStatus::message() const
 {
-    return _message;
+    return _message.trimmed();
 }
 
 QUrl UserStatus::icon() const