aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-05-07 13:42:14 +0000
committerMario <mario@mariovavti.com>2022-05-07 13:42:14 +0000
commit09d929bd56df8adda04d6cc95b76ea9be7c9b861 (patch)
treeb5df1a98d262f2908521f1615043923a214a2d86
parentbd55ae15f29465eab49d3feb83bc426b54127529 (diff)
downloadvolse-hubzilla-09d929bd56df8adda04d6cc95b76ea9be7c9b861.tar.gz
volse-hubzilla-09d929bd56df8adda04d6cc95b76ea9be7c9b861.tar.bz2
volse-hubzilla-09d929bd56df8adda04d6cc95b76ea9be7c9b861.zip
add the update date to the icon url. some platforms will not update if the icon url remains static
-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 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,
];