about summary refs log tree commit diff
path: root/app/serializers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-06-16 18:47:19 +0200
committerGitHub <noreply@github.com>2018-06-16 18:47:19 +0200
commit5e9d51c24b176bfb38a9fc6a4e7212f43503693f (patch)
treec9b404b5d5824d337e2f19422b4f005917ae3ad0 /app/serializers
parent9c08a368e7dbbe621690acc642e5300476b7a89f (diff)
Do not pre-emojify note HTML in accounts REST API (#7821)
Fix #7820
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/rest/account_serializer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/rest/account_serializer.rb b/app/serializers/rest/account_serializer.rb
index 6adcd7039..3a724aa7c 100644
--- a/app/serializers/rest/account_serializer.rb
+++ b/app/serializers/rest/account_serializer.rb
@@ -25,7 +25,7 @@ class REST::AccountSerializer < ActiveModel::Serializer
   end
 
   def note
-    Formatter.instance.simplified_format(object, custom_emojify: true)
+    Formatter.instance.simplified_format(object)
   end
 
   def url