From a6f5111c7910cff5b0765f2452519e9ca51658b0 Mon Sep 17 00:00:00 2001 From: Surinna Curtis Date: Mon, 26 Jun 2017 20:51:11 -0500 Subject: [PATCH] Eyes with variation-selector-16 now also do local-only --- app/services/post_status_service.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb index d86ae04d4f0..ae9b63abe4c 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