From f21d4c3209d7c1d3ea533b61945e0fab92951e3b Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sun, 10 Mar 2019 02:43:18 +0000 Subject: [PATCH] allow eye emoji to be a local-only flag --- app/models/status.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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?