Eyes with variation-selector-16 now also do local-only

lolsob-rspec
Surinna Curtis 2017-06-26 20:51:11 -05:00
parent 1ccb8a2d09
commit 01f1c9dec6
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,8 @@ class PostStatusService < BaseService
LinkCrawlWorker.perform_async(status.id) unless status.spoiler_text? LinkCrawlWorker.perform_async(status.id) unless status.spoiler_text?
DistributionWorker.perform_async(status.id) 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) Pubsubhubbub::DistributionWorker.perform_async(status.stream_entry.id)
end end