diff options
author | Felix Weilbach <felix.weilbach@nextcloud.com> | 2021-11-09 13:58:33 +0300 |
---|---|---|
committer | Felix Weilbach <felix.weilbach@nextcloud.com> | 2021-11-10 15:11:49 +0300 |
commit | 3e368ee4df68b34b1a61e50266080697210dbf89 (patch) | |
tree | c91559a2169d5620cad3b90dcb572fdbb8e554b4 /src/gui | |
parent | db337c44570a73e73944fd4bae50f9370122440e (diff) |
IconJob: Send request through the accounts NAS
This helps tracking requests on the server
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/tray/notificationhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/tray/notificationhandler.cpp b/src/gui/tray/notificationhandler.cpp index 2bb4b7ef6..b21f7e8e1 100644 --- a/src/gui/tray/notificationhandler.cpp +++ b/src/gui/tray/notificationhandler.cpp @@ -113,7 +113,7 @@ void ServerNotificationHandler::slotNotificationsReceived(const QJsonDocument &j a._icon = json.value("icon").toString(); if (!a._icon.isEmpty()) { - auto *iconJob = new IconJob(QUrl(a._icon)); + auto *iconJob = new IconJob(_accountState->account(), QUrl(a._icon)); iconJob->setProperty("activityId", a._id); connect(iconJob, &IconJob::jobFinished, this, &ServerNotificationHandler::slotIconDownloaded); } |