+CoreIgnoreListManager::CoreIgnoreListManager(CoreSession* parent)
+ : IgnoreListManager(parent)
+{
+ auto* session = qobject_cast<CoreSession*>(parent);
+ if (!session) {
+ qWarning() << "CoreIgnoreListManager: unable to load IgnoreList. Parent is not a Coresession!";
+ // loadDefaults();
+ return;
+ }
+
+ initSetIgnoreList(Core::getUserSetting(session->user(), "IgnoreList").toMap());
+
+ // we store our settings whenever they change
+ connect(this, &SyncableObject::updatedRemotely, this, &CoreIgnoreListManager::save);