From 09d929bd56df8adda04d6cc95b76ea9be7c9b861 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 7 May 2022 13:42:14 +0000 Subject: add the update date to the icon url. some platforms will not update if the icon url remains static --- Zotlabs/Lib/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 9b3cab9d0..d377cefc0 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -1013,7 +1013,7 @@ class Activity { 'type' => 'Image', 'mediaType' => (($p['xchan_photo_mimetype']) ? $p['xchan_photo_mimetype'] : 'image/png'), 'updated' => datetime_convert('UTC', 'UTC', $p['xchan_photo_date'], ATOM_TIME), - 'url' => $p['xchan_photo_l'], + 'url' => $p['xchan_photo_l'] . '?_updated=' . datetime_convert('UTC', 'UTC', $p['xchan_photo_date'], ATOM_TIME), 'height' => 300, 'width' => 300, ]; -- cgit v1.2.3