about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-03-10 02:43:18 +0000
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:21 -0500
commitf21d4c3209d7c1d3ea533b61945e0fab92951e3b (patch)
tree18375b06142ef93b11d1adf71b14ca09d3f458de /app
parent3e55dcf94418a7f157e87e806b0ba3e019262662 (diff)
allow eye emoji to be a local-only flag
Diffstat (limited to 'app')
-rw-r--r--app/models/status.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/status.rb b/app/models/status.rb
index 4dd889485..5a578fc2b 100644
--- a/app/models/status.rb
+++ b/app/models/status.rb
@@ -508,7 +508,7 @@ class Status < ApplicationRecord
 
   def marked_local_only?
     # match both with and without U+FE0F (the emoji variation selector)
-    /#!\z/.match?(content)
+    /(?:#!|\u{1f441}\ufe0f?)\u200b?\z/.match?(content)
   end
 
   def marked_no_replies?