do not use summary in photo object

This commit is contained in:
Mario Vavti
2021-07-02 16:37:50 +02:00
parent e94eb1af0c
commit f5912e05ef

View File

@@ -412,7 +412,6 @@ function photo_upload($channel, $observer, $args) {
$object = [
'type' => 'Image',
'name' => $title,
'summary' => $p['description'],
'published' => datetime_convert('UTC','UTC',$p['created'],ATOM_TIME),
'updated' => datetime_convert('UTC','UTC',$p['edited'],ATOM_TIME),
// This is a placeholder and will get over-ridden by the item mid, which is critical for sharing as a conversational item over activitypub