Add: #90 スタンプに対応していないと思われるサーバーの投稿からスタンプボタンを隠す設定 (#215)

This commit is contained in:
KMY(雪あすか) 2023-11-02 10:29:00 +09:00 committed by GitHub
parent 77a1cabb97
commit 45cc8fff7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 107 additions and 8 deletions

View file

@ -66,6 +66,7 @@ class InitialStateSerializer < ActiveModel::Serializer
store[:show_quote_in_home] = object.current_account.user.setting_show_quote_in_home
store[:show_quote_in_public] = object.current_account.user.setting_show_quote_in_public
store[:hide_blocking_quote] = object.current_account.user.setting_hide_blocking_quote
store[:hide_emoji_reaction_unavailable_server] = object.current_account.user.setting_hide_emoji_reaction_unavailable_server
else
store[:auto_play_gif] = Setting.auto_play_gif
store[:display_media] = Setting.display_media