Move curly brackets to the correct line.

Signed-off-by: Camila <hello@camila.codes>
This commit is contained in:
Camila 2021-03-30 13:08:32 +02:00 committed by allexzander (Rebase PR Action)
parent 98cfc362f7
commit d2b762aa66
2 changed files with 3 additions and 3 deletions

View 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();

View 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"}