diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-05-16 22:29:05 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-05-16 22:29:05 +0200 |
commit | 4415005de73579110a5bbc31bdd55dc89bf726e1 (patch) | |
tree | ac1b378fdfbe5bd301c60f18a565f303156878fc /app/serializers/rest | |
parent | b91196f4b73fff91997b8077619ae25b6d04a59e (diff) | |
parent | d25015fc5b6c6b31dcf726b02dd0742475d9d9c8 (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Conflicts: - `app/javascript/mastodon/features/compose/components/compose_form.js`: Conflict caused because of minor code style change upstream, while glitch-soc has different code for handling variable maximum chars. Ported the change. - `app/serializers/initial_state_serializer.rb`: Conflict because glitch-soc had two extra attributes where upstream added one. Added upstream's attribute.
Diffstat (limited to 'app/serializers/rest')
-rw-r--r-- | app/serializers/rest/preferences_serializer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/rest/preferences_serializer.rb b/app/serializers/rest/preferences_serializer.rb index 119f0e06d..874bd990d 100644 --- a/app/serializers/rest/preferences_serializer.rb +++ b/app/serializers/rest/preferences_serializer.rb @@ -17,7 +17,7 @@ class REST::PreferencesSerializer < ActiveModel::Serializer end def posting_default_language - object.user.setting_default_language.presence + object.user.preferred_posting_language end def reading_default_sensitive_media |