mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Ensure whitelist/blacklist procedure removes activity
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
e985367b5e
commit
fe59d4ec79
@ -838,10 +838,10 @@ void ActivityListModel::slotTriggerAction(const int activityIndex, const int act
|
||||
return;
|
||||
} else if (action._verb == "WHITELIST_FOLDER" && !activity._folder.isEmpty()) {
|
||||
FolderMan::instance()->whitelistFolderPath(activity._folder);
|
||||
return;
|
||||
removeActivityFromActivityList(activity);
|
||||
} else if (action._verb == "BLACKLIST_FOLDER" && !activity._folder.isEmpty()) {
|
||||
FolderMan::instance()->blacklistFolderPath(activity._folder);
|
||||
return;
|
||||
removeActivityFromActivityList(activity);
|
||||
}
|
||||
|
||||
emit sendNotificationRequest(activity._accName, action._link, action._verb, activityIndex);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user