about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorSurinna Curtis <ekiru.0@gmail.com>2017-06-26 20:51:11 -0500
committerSurinna Curtis <ekiru.0@gmail.com>2017-06-26 20:51:11 -0500
commita6f5111c7910cff5b0765f2452519e9ca51658b0 (patch)
treeab32726161de11512da1ca70b9c03bc80626c027 /app
parent59503a88ae96f554eab3c33f5760e98808ee135a (diff)
Eyes with variation-selector-16 now also do local-only
Diffstat (limited to 'app')
-rw-r--r--app/services/post_status_service.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb
index d86ae04d4..ae9b63abe 100644
--- a/app/services/post_status_service.rb
+++ b/app/services/post_status_service.rb
@@ -37,7 +37,8 @@ class PostStatusService < BaseService
     LinkCrawlWorker.perform_async(status.id) unless status.spoiler_text?
     DistributionWorker.perform_async(status.id)
 
-    unless /👁$/.match?(status.content)
+    # match both with and without U+FE0F (the emoji variation selector)
+    unless /[👁👁️]$/.match?(status.content)
       Pubsubhubbub::DistributionWorker.perform_async(status.stream_entry.id)
     end