mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-01-11 10:12:56 -05:00
parent
8f2ed79a0b
commit
8ebed7fc68
@ -53,7 +53,7 @@ class PostStatusService < BaseService
|
||||
end
|
||||
|
||||
def detect_language(text)
|
||||
WhatLanguage.new(:all).language_iso(text)
|
||||
WhatLanguage.new(:all).language_iso(text) || 'en'
|
||||
end
|
||||
|
||||
def process_mentions_service
|
||||
|
Loading…
x
Reference in New Issue
Block a user