aboutsummaryrefslogtreecommitdiff
path: root/p/api/fever.php
diff options
context:
space:
mode:
authorGravatar CarelessCaution <bhabeck34@outlook.com> 2025-05-09 16:41:31 -0500
committerGravatar GitHub <noreply@github.com> 2025-05-09 23:41:31 +0200
commitc6f09e1ae46421a5089ec2626b49148dc457cfd9 (patch)
tree372f4f67695f2e22c50fabf612fa7452278c9acc /p/api/fever.php
parent4968ff7cccdb2b7fc6f8678fe42883fb63e87a6c (diff)
Fix favicon hashing in GReader API (#7573)
* Fix favicon hashing in GReader API (#7570) This allows the correct iconUrl to be returned from the GReader API for a given feed. * Fix method signature * Fix Fever API --------- Co-authored-by: CarelessCaution <189675655+CarelessCaution@users.noreply.github.com> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'p/api/fever.php')
-rw-r--r--p/api/fever.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/fever.php b/p/api/fever.php
index 2ef3e4f9a..6251842e7 100644
--- a/p/api/fever.php
+++ b/p/api/fever.php
@@ -360,7 +360,7 @@ final class FeverAPI
$myFeeds = $this->feedDAO->listFeeds();
foreach ($myFeeds as $feed) {
- $id = hash('crc32b', $salt . $feed->url());
+ $id = $feed->hashFavicon();
$filename = DATA_PATH . '/favicons/' . $id . '.ico';
if (!file_exists($filename)) {
continue;