parent
e7f68ee031
commit
6e801f4030
|
@ -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…
Reference in New Issue