replies to local-only toots default to local-only, and fix some regex bugs

This commit is contained in:
Surinna Curtis
2017-07-06 22:30:21 -05:00
parent d87d70e89a
commit 3464bb30f8
2 changed files with 4 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ class PostStatusService < BaseService
DistributionWorker.perform_async(status.id)
# match both with and without U+FE0F (the emoji variation selector)
unless /[👁👁️]$/.match?(status.content)
unless /👁\ufe0f?\z/.match?(status.content)
Pubsubhubbub::DistributionWorker.perform_async(status.stream_entry.id)
end