about summary refs log tree commit diff
path: root/app/services/post_status_service.rb
diff options
context:
space:
mode:
authorSurinna Curtis <ekiru.0@gmail.com>2017-07-06 22:30:21 -0500
committerSurinna Curtis <ekiru.0@gmail.com>2017-07-06 22:30:51 -0500
commit3464bb30f83dcfc8e8096d191fd110d84b9ad42f (patch)
tree48fadafeaa7ea5b548a05dbad7f3c1377af6a184 /app/services/post_status_service.rb
parentd87d70e89a01953ec10fff3e518adc4ab5fd52d2 (diff)
replies to local-only toots default to local-only, and fix some regex bugs
Diffstat (limited to 'app/services/post_status_service.rb')
-rw-r--r--app/services/post_status_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb
index ae9b63abe..9fb1a2b12 100644
--- a/app/services/post_status_service.rb
+++ b/app/services/post_status_service.rb
@@ -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