diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-05-07 22:38:43 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:23 -0500 |
commit | dca70079b1f01624b5656b2811e046d114f913e0 (patch) | |
tree | 92dee22a815e88e808ddc0f909239ea24a163281 /app/lib/activitypub | |
parent | 6c374b51537126a2cba29f3eaf74faf1fc64ba96 (diff) |
Remove automatic language detection.
Diffstat (limited to 'app/lib/activitypub')
-rw-r--r-- | app/lib/activitypub/activity/create.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/activitypub/activity/create.rb b/app/lib/activitypub/activity/create.rb index df735a7bf..5514d9a6e 100644 --- a/app/lib/activitypub/activity/create.rb +++ b/app/lib/activitypub/activity/create.rb @@ -338,7 +338,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity elsif summary_language_map? @object['summaryMap'].keys.first elsif supported_object_type? - LanguageDetector.instance.detect(text_from_content, @account) + nil end end |