add the update date to the icon url. some platforms will not update if the icon url remains static

This commit is contained in:
Mario
2022-05-07 13:42:14 +00:00
parent bd55ae15f2
commit 09d929bd56

View File

@@ -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,
];