1
1
Fork 0

ActivityPub: Support for incoming picture descriptions

This commit is contained in:
Michael 2019-07-29 04:35:13 +00:00
parent eddcb5ebe9
commit ab7db9944d

View file

@ -111,7 +111,11 @@ class Processor
continue;
}
if (empty($attach['name'])) {
$item['body'] .= "\n[img]" . $attach['url'] . '[/img]';
} else {
$item['body'] .= "\n[img=" . $attach['url'] . ']' . $attach['name'] . '[/img]';
}
} else {
if (!empty($item["attach"])) {
$item["attach"] .= ',';