LoadEntries: Don't emit NOTIFY_FLAGS. (#247)

Fixes #246.
This commit is contained in:
Peter Johnson
2017-10-04 11:28:35 -07:00
committed by GitHub
parent f81b6fbcd6
commit 8a37b81f4e

View File

@@ -394,7 +394,7 @@ bool Storage::LoadEntries(
NT_NOTIFY_NEW | NT_NOTIFY_LOCAL);
} else if (*old_value != *i.second) {
unsigned int notify_flags = NT_NOTIFY_UPDATE | NT_NOTIFY_LOCAL;
if (!was_persist) notify_flags |= NT_NOTIFY_FLAGS;
if (!was_persist && persistent) notify_flags |= NT_NOTIFY_FLAGS;
m_notifier.NotifyEntry(entry->local_id, i.first, i.second,
notify_flags);
} else if (!was_persist && persistent) {