|
|
@@ -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) .
|