Update AP helpers, ingest attachments in replies

This commit is contained in:
Daniel Supernault 2023-02-02 05:43:08 -07:00
parent 06e9d4df5f
commit c504e6437e
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -496,6 +496,9 @@ class Helpers {
if($reply_to == null) { if($reply_to == null) {
self::importNoteAttachment($activity, $status); self::importNoteAttachment($activity, $status);
} else { } else {
if(isset($activity['attachment']) && !empty($activity['attachment'])) {
self::importNoteAttachment($activity, $status);
}
StatusReplyPipeline::dispatch($status); StatusReplyPipeline::dispatch($status);
} }