From 3a2d126877f4e85a813665193e5d5e71fac19368 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 9 May 2022 08:27:50 +0000 Subject: use rev instead of _updated and the unix timestamp is less likely to cause issues in the future --- Zotlabs/Lib/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index d377cefc0..e043665ca 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'] . '?_updated=' . datetime_convert('UTC', 'UTC', $p['xchan_photo_date'], ATOM_TIME), + 'url' => $p['xchan_photo_l'] . '?rev=' . strtotime($p['xchan_photo_date']), 'height' => 300, 'width' => 300, ]; -- cgit v1.2.3