mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Move curly brackets to the correct line.
Signed-off-by: Camila <hello@camila.codes>
This commit is contained in:
parent
98cfc362f7
commit
d2b762aa66
2 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -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"}
|
||||
|
|
Loading…
Reference in a new issue