Update: Fix registered version of feed blocklist after update

This commit is contained in:
zzz
2021-11-21 08:50:10 -05:00
parent 31393c2bef
commit d948fa8db3

View File

@ -718,8 +718,7 @@ class NewsFetcher extends UpdateRunner {
f.setLastModified(ble.updated);
String upd = Long.toString(ble.updated);
_context.router().saveConfig(PROP_BLOCKLIST_TIME, upd);
_mgr.notifyVersionAvailable(this, _currentURI, BLOCKLIST, Blocklist.ID_FEED, HTTP,
null, upd, "");
_mgr.notifyInstalled(BLOCKLIST, Blocklist.ID_FEED, upd);
}
if (_log.shouldWarn())
_log.warn("Processed " + ble.entries.size() + " blocks and " + ble.removes.size() + " unblocks from news feed");