DBG("Delete !!!");
if (info.GetEventType() == IEventInfo::EventType::DeleteAll) {
list<shared_ptr<item::AbstractItem>> noti_list =
- DBManager::GetNotificationList(facade_->GetUid(info));
+ DBManager::GetNotificationList(facade_->GetUid(info), info.GetChannel());
for (auto& i : noti_list) {
DoDelete(info, i);
}
DBG("Delete !!!");
if (info.GetEventType() == IEventInfo::EventType::DeleteAll) {
list<shared_ptr<item::AbstractItem>> noti_list =
- DBManager::GetNotificationList(info.GetOwner(), facade_->GetUid(info));
- for (auto& i : noti_list) {
+ DBManager::GetNotificationList(info.GetOwner(), facade_->GetUid(info),
+ info.GetChannel());
+ for (auto& i : noti_list)
DoDelete(info, i);
- }
facade_->LaunchDefaultViewer(noti_list, NOTIFICATION_OP_DELETE_ALL);
} else {
int ret = DoDelete(info, deletedItem);