Move curly brackets to the correct line.
authorCamila <hello@camila.codes>
Tue, 30 Mar 2021 11:08:32 +0000 (13:08 +0200)
committerallexzander (Rebase PR Action) <allexzander@users.noreply.github.com>
Thu, 8 Apr 2021 07:10:59 +0000 (07:10 +0000)
Signed-off-by: Camila <hello@camila.codes>
src/gui/tray/UserModel.cpp
src/gui/userstatus.cpp

index df40e25d92da10b0769dd384dc7799336e34ecb5..e97583825d5b80efdb0c48cc0f2142d73ddc904b 100644 (file)
@@ -219,7 +219,8 @@ void User::slotRefreshActivities()
     _activityModel->slotRefreshActivity();
 }
 
-void User::slotRefreshUserStatus() {
+void User::slotRefreshUserStatus() 
+{
     // TODO: check for _account->account()->capabilities().userStatus() 
     if (_account.data() && _account.data()->isConnected()) {
         _account.data()->fetchUserStatus();
index 8d7eb92d98f986aee95b4aa30bc2008c3f9670b6..223f08c25f3ad5b9e32e6e7f83795bd52230b06e 100644 (file)
@@ -55,8 +55,7 @@ void UserStatus::fetchUserStatus(AccountPtr account)
 
 void UserStatus::slotFetchUserStatusFinished(const QJsonDocument &json, int statusCode)
 {
-    const QJsonObject defaultValues
-    {
+    const QJsonObject defaultValues {
         {"icon", ""},
         {"message", ""},
         {"status", "online"}