mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Eyes with variation-selector-16 now also do local-only
This commit is contained in:
parent
59503a88ae
commit
a6f5111c79
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user