Apply suggestion to lib/pleroma/web/pleroma_api/controllers/chat_controller.ex