From 84d88d4b5dbd12130344a02fa8dd2cfb2b55b96a Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 21 Feb 2024 09:47:05 +0100 Subject: Improve TTL+muted logic (#6115) Fix https://github.com/FreshRSS/FreshRSS/issues/6111 --- app/Models/Feed.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/Models/Feed.php') diff --git a/app/Models/Feed.php b/app/Models/Feed.php index 1de8258e8..2eab0a3cf 100644 --- a/app/Models/Feed.php +++ b/app/Models/Feed.php @@ -189,6 +189,9 @@ class FreshRSS_Feed extends Minz_Model { } return $ttl * ($this->mute ? -1 : 1); } + if ($this->mute && $this->ttl === FreshRSS_Context::userConf()->ttl_default) { + return FreshRSS_Feed::TTL_DEFAULT; + } return $this->ttl; } -- cgit v1.2.3