mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
add the update date to the icon url. some platforms will not update if the icon url remains static
This commit is contained in:
@@ -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,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user