mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Don't log notification successes as warnings
Signed-off-by: AJ Jordan <alex@strugee.net>
This commit is contained in:
parent
f3663bbbce
commit
5c7fb58919
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ bool ServerNotificationHandler::startFetchNotifications()
|
|||
void ServerNotificationHandler::slotEtagResponseHeaderReceived(const QByteArray &value, int statusCode)
|
||||
{
|
||||
if (statusCode == successStatusCode) {
|
||||
qCWarning(lcServerNotification) << "New Notification ETag Response Header received " << value;
|
||||
qCInfo(lcServerNotification) << "New Notification ETag Response Header received " << value;
|
||||
auto *account = qvariant_cast<AccountState *>(sender()->property(propertyAccountStateC));
|
||||
account->setNotificationsEtagResponseHeader(value);
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ void ServerNotificationHandler::slotNotificationsReceived(const QJsonDocument &j
|
|||
}
|
||||
|
||||
if (statusCode == notModifiedStatusCode) {
|
||||
qCWarning(lcServerNotification) << "Status code " << statusCode << " Not Modified - No new notifications.";
|
||||
qCInfo(lcServerNotification) << "Status code " << statusCode << " Not Modified - No new notifications.";
|
||||
deleteLater();
|
||||
emit jobFinished();
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue