diff options
author | Surinna Curtis <ekiru.0@gmail.com> | 2017-06-26 20:51:11 -0500 |
---|---|---|
committer | Surinna Curtis <ekiru.0@gmail.com> | 2017-06-26 20:51:11 -0500 |
commit | a6f5111c7910cff5b0765f2452519e9ca51658b0 (patch) | |
tree | ab32726161de11512da1ca70b9c03bc80626c027 | |
parent | 59503a88ae96f554eab3c33f5760e98808ee135a (diff) |
Eyes with variation-selector-16 now also do local-only
-rw-r--r-- | app/services/post_status_service.rb | 3 |
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 |