aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-05-09 08:27:50 +0000
committerMario <mario@mariovavti.com>2022-05-09 08:27:50 +0000
commit3a2d126877f4e85a813665193e5d5e71fac19368 (patch)
tree1723234429ea8022063d7151497b3c0a80c02d9b
parentee3d6fcfee574ac9f1dcbc0d55c296fc4d5c06ac (diff)
downloadvolse-hubzilla-3a2d126877f4e85a813665193e5d5e71fac19368.tar.gz
volse-hubzilla-3a2d126877f4e85a813665193e5d5e71fac19368.tar.bz2
volse-hubzilla-3a2d126877f4e85a813665193e5d5e71fac19368.zip
use rev instead of _updated and the unix timestamp is less likely to cause issues in the future
-rw-r--r--Zotlabs/Lib/Activity.php2
1 files changed, 1 insertions, 1 deletions
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,
];