Merge pull request #7446 from annando/alt-text
ActivityPub: Support for incoming picture descriptions
This commit is contained in:
commit
1ccc1efdcf
|
@ -111,7 +111,11 @@ class Processor
|
|||
continue;
|
||||
}
|
||||
|
||||
$item['body'] .= "\n[img]" . $attach['url'] . '[/img]';
|
||||
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"] .= ',';
|
||||
|
|
Loading…
Reference in New Issue
Block a user