-
-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Leave unknown language as nil if account is remote #8861
Conversation
I was thinking of it this very morning! |
Can someone help me to fix test code?
|
I don't think we should use the language detector's result when it's unreliable. Maybe it's best to leave this field as |
When language field is |
The language detector is super inaccurate for short messages. Also, you can't ignore when people set a posting language preference (which is hopefully more correct than the detector, although vandalism is also possible) |
So.. It's better to set |
@Kjwon15 When a status' language is set to @Gargron afaict this change doesn't ignore the posting language setting, it just drops the fallback to default user / instance setting on receiving remote toots for which a language wasn't defined and for which the detection has been deemed unreliable. |
Yes, It actually fixes a bug |
It is not reasonable to use Local instance's language setting for foreign user's toot.