Merge commit '4896d2c4c6d3bd6b878c5a075b6611c65d4203b2' into glitch-soc/merge-upstream

Conflicts:
- `app/views/settings/preferences/appearance/show.html.haml`:
  Upstream changed stuff too close to glitch-soc's theming system changes.
  Applied upstream's changes.
- `streaming/index.js`:
  Upstream refactored a bunch of stuff where our code was different due to
  local-only posts.
  Applied upstream's changes while taking care of local-only posts.
This commit is contained in:
Claire committed 2025-10-28 22:10:12 +01:00
commit 48ec31bec8
136 files changed
+1041 -1409

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ class InitialStateSerializer < ActiveModel::Serializer
store[:default_content_type] = object_account_user.setting_default_content_type
store[:system_emoji_font] = object_account_user.setting_system_emoji_font
store[:show_trends] = Setting.trends && object_account_user.setting_trends
store[:emoji_style] = object_account_user.settings['web.emoji_style'] if Mastodon::Feature.modern_emojis_enabled?
store[:emoji_style] = object_account_user.settings['web.emoji_style']
else
store[:auto_play_gif] = Setting.auto_play_gif
store[:display_media] = Setting.display_media
+3 -3
View File
@@ -172,9 +172,9 @@ class REST::StatusSerializer < ActiveModel::Serializer
def quote_approval
{
automatic: object.quote_policy_as_keys(:automatic),
manual: object.quote_policy_as_keys(:manual),
current_user: object.quote_policy_for_account(current_user&.account),
automatic: object.proper.quote_policy_as_keys(:automatic),
manual: object.proper.quote_policy_as_keys(:manual),
current_user: object.proper.quote_policy_for_account(current_user&.account),
}
end