Skip to content

(bug) NSFW properties not getting propagated from media post to activity

/api/v2/admin/nsfw/<guid> API call is using the existence (and value) of entity_guid field to propagate from activity -> media entity but doesn't go the other way.

It should be using the PropagateProperties object to do this.

Also, this API is calling:

$dispatcher->trigger('search:index', 'all', [
            'entity' => $entity,
            'immediate' => true,
        ]);

Which is not present in the NSFW PropagateProperties delegate.