1
0
Эх сурвалжийг харах

Update AP helpers, ingest attachments in replies

Daniel Supernault 2 жил өмнө
parent
commit
c504e6437e

+ 3 - 0
app/Util/ActivityPub/Helpers.php

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