A free, self-hostable news aggregator…
applyFilterActions after extensions (#6091)
Alexandre Alapetite2989470e881a
diff --git a/app/Controllers/feedController.php b/app/Controllers/feedController.phpindex c194baf95..d393a142e 100644--- a/app/Controllers/feedController.php+++ b/app/Controllers/feedController.php@@ -602,10 +602,6 @@ class FreshRSS_feed_Controller extends FreshRSS_ActionController {} else {$id = uTimeString();$entry->_id($id);- $entry->applyFilterActions($titlesAsRead);- if ($readWhenSameTitleInFeed > 0) {- $titlesAsRead[$entry->title()] = true;- }$entry = Minz_ExtensionManager::callHook('entry_before_insert', $entry);if (!($entry instanceof FreshRSS_Entry)) {@@ -613,6 +609,11 @@ class FreshRSS_feed_Controller extends FreshRSS_ActionController {continue;}+ $entry->applyFilterActions($titlesAsRead);+ if ($readWhenSameTitleInFeed > 0) {+ $titlesAsRead[$entry->title()] = true;+ }+if ($pubSubHubbubEnabled && !$simplePiePush) { //We use push, but have discovered an article by pull!$text = 'An article was discovered by pull although we use PubSubHubbub!: Feed ' .SimplePie_Misc::url_remove_credentials($url) .