diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-08-12 15:31:20 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-08-12 23:01:37 +0200 |
commit | 597ea5687a3601c6cc462831bf570bae05b08240 (patch) | |
tree | b95cc1a5d557e80b1f59c0aa72851fbc19649468 /app/serializers | |
parent | cf421bafdf644f8c8a44b4f06f82841cbd568cdf (diff) |
Add option to disable emoji replacements
Fixes #647 The option is found in `/settings` (because that was easier to write it this way) but only affects the glitch-soc front-end.
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/initial_state_serializer.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/serializers/initial_state_serializer.rb b/app/serializers/initial_state_serializer.rb index c8da6e725..c8f6bec7a 100644 --- a/app/serializers/initial_state_serializer.rb +++ b/app/serializers/initial_state_serializer.rb @@ -53,6 +53,7 @@ class InitialStateSerializer < ActiveModel::Serializer store[:is_staff] = object.current_account.user.staff? store[:trends] = Setting.trends && object.current_account.user.setting_trends store[:default_content_type] = object.current_account.user.setting_default_content_type + store[:system_emoji_font] = object.current_account.user.setting_system_emoji_font end store |