Even if it's already checked in middlewares It's better to have safe modals too
Put functions in lib/activitypub instead