From eb809151b37c762a4fde91c7cb58dca1ee3da186 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 19 Jan 2026 16:29:57 +0100 Subject: [PATCH 1/2] fix(crawler): Skip notifications completely in first run Signed-off-by: Joas Schilling --- lib/Cron/Crawler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cron/Crawler.php b/lib/Cron/Crawler.php index 49ee0261..12f49f88 100644 --- a/lib/Cron/Crawler.php +++ b/lib/Cron/Crawler.php @@ -68,7 +68,7 @@ protected function run(mixed $argument): void { $rssPubDate = (string)$rss->channel->pubDate; $lastPubDate = $this->config->getAppValue($this->appName, 'pub_date', 'now'); - if ($lastPubDate === 'now1') { + if ($lastPubDate === 'now') { // First call, don't spam the user with old stuff... $this->config->setAppValue($this->appName, 'pub_date', $rssPubDate); return; @@ -104,7 +104,7 @@ protected function run(mixed $argument): void { $this->notificationManager->notify($notification); } - $this->config->getAppValue($this->appName, $id, 'published'); + $this->config->setAppValue($this->appName, $id, 'published'); } $this->config->setAppValue($this->appName, 'pub_date', $rssPubDate); From 98b2c72286b1839b9b8aab1506875f45c478c5d0 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 19 Jan 2026 16:37:35 +0100 Subject: [PATCH 2/2] ci(psalm): Update baseline Signed-off-by: Joas Schilling --- tests/psalm-baseline.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/psalm-baseline.xml b/tests/psalm-baseline.xml index 86c1f226..1a2f72a7 100644 --- a/tests/psalm-baseline.xml +++ b/tests/psalm-baseline.xml @@ -6,7 +6,7 @@ - +