From f76d9b7908fd55c5ee237e3dd48624bdf2541b4c Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 9 Apr 2023 19:44:35 +0000 Subject: make sure to update ud_last timestamp if we successfully fingered a channel --- Zotlabs/Lib/Libzotdir.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Zotlabs/Lib/Libzotdir.php b/Zotlabs/Lib/Libzotdir.php index fa691080f..dfedd0bc8 100644 --- a/Zotlabs/Lib/Libzotdir.php +++ b/Zotlabs/Lib/Libzotdir.php @@ -331,8 +331,7 @@ class Libzotdir { dbesc($zf['data']['primary_location']['url']) ); } - } - else { + q("update updates set ud_last = '%s' where ud_addr = '%s'", dbesc(datetime_convert()), dbesc($ud['ud_addr']) -- cgit v1.2.3