Allow manual refresh of disabled feeds (#6408)

fix https://github.com/FreshRSS/FreshRSS/issues/6407
This commit is contained in:
Alexandre Alapetite 2024-05-01 23:15:49 +02:00 committed by GitHub
parent c9307e4324
commit cd8fc428cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -455,8 +455,8 @@ class FreshRSS_feed_Controller extends FreshRSS_ActionController {
continue; //When PubSubHubbub is used, do not pull refresh so often
}
if ($feed->mute()) {
continue; //Feed refresh is disabled
if ($feed->mute() && $feed_id === null) {
continue; // If the feed is disabled, only allow refresh if manually requested for that specific feed
}
$mtime = $feed->cacheModifiedTime() ?: 0;
$ttl = $feed->ttl();