about summary refs log tree commit diff
path: root/app/services/unblock_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/unblock_service.rb')
-rw-r--r--app/services/unblock_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/unblock_service.rb b/app/services/unblock_service.rb
index 24f567603..c263ac8af 100644
--- a/app/services/unblock_service.rb
+++ b/app/services/unblock_service.rb
@@ -7,7 +7,7 @@ class UnblockService < BaseService
     return unless account.blocking?(target_account)
 
     unblock = account.unblock!(target_account)
-    create_notification(unblock) unless target_account.local?
+    create_notification(unblock) if !target_account.local? && target_account.activitypub?
     unblock
   end