diff --git a/lib/pleroma/web/common_api/activity_draft.ex b/lib/pleroma/web/common_api/activity_draft.ex index fdc9999f55..dc7b4c6097 100644 --- a/lib/pleroma/web/common_api/activity_draft.ex +++ b/lib/pleroma/web/common_api/activity_draft.ex @@ -236,7 +236,7 @@ defp sensitive(draft) do defp language(draft) do language = Utils.get_valid_language(draft.params[:language]) || - LanguageDetector.detect(draft.full_payload) + LanguageDetector.detect(draft.content_html <> " " <> draft.summary) %__MODULE__{draft | language: language} end