Commit 34c1f148 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Fix removing entries from subscription

parent d3b1145a
......@@ -177,7 +177,7 @@ void NotificationSubscriber::modifySubscription(const Protocol::ModifySubscripti
#define REMOVE(set, items) \
Q_FOREACH (const auto &entity, items) { \
set.insert(entity); \
set.remove(entity); \
}
if (START_MONITORING(Types)) {
......@@ -251,6 +251,11 @@ void NotificationSubscriber::modifySubscription(const Protocol::ModifySubscripti
changeNtf.setOperation(Protocol::SubscriptionChangeNotification::Modify);
mManager->slotNotify({ changeNtf });
}
#undef START_MONITORING
#undef STOP_MONITORING
#undef APPEND
#undef REMOVE
}
Protocol::ChangeNotification NotificationSubscriber::toChangeNotification() const
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment