about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-05-18 21:14:03 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:50 -0500
commitc66d932c22cdb08121caddae54a52eb80d1986f2 (patch)
treee741349875729b569e685206c12b818d3aea32b4 /app/models
parent5e2a8f3d3c53d0849cef9787facf8e265f7e6a10 (diff)
include bio field keys in emojifiable text
Diffstat (limited to 'app/models')
-rw-r--r--app/models/account.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/account.rb b/app/models/account.rb
index 6379a5031..97ebd14d3 100644
--- a/app/models/account.rb
+++ b/app/models/account.rb
@@ -582,7 +582,7 @@ class Account < ApplicationRecord
   end
 
   def emojifiable_text
-    [note, display_name, fields.map(&:value)].join(' ')
+    [note, display_name, fields.map { |f| "#{f.name} #{f.value}" }].join(' ')
   end
 
   def clean_feed_manager