aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Models/Feed.php3
1 files changed, 3 insertions, 0 deletions
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;
}