Remove unnused variable

Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
This commit is contained in:
Felix Weilbach 2021-07-12 13:04:10 +02:00 committed by Felix Weilbach (Rebase PR Action)
parent 38467b2e30
commit 12bdd8742b

View file

@ -850,8 +850,6 @@ void FolderMan::slotEtagPollTimerTimeout()
// Some folders need not to be checked because they use the push notifications
std::copy_if(folderMapValues.begin(), folderMapValues.end(), std::back_inserter(foldersToRun), [this](Folder *folder) -> bool {
const auto account = folder->accountState()->account();
const auto capabilities = account->capabilities();
return !pushNotificationsFilesReady(account.data());
});