about summary refs log tree commit diff
path: root/app/services/suspend_account_service.rb
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-24 16:39:58 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-24 16:39:58 -0500
commitcefcad113031ce580121d33c489d33f59e459fc4 (patch)
treeaf6e202d39a56737a5a992a103068b6e4366921a /app/services/suspend_account_service.rb
parent8f6e737f38c98bbe431c0c60a42208ba185d94e6 (diff)
transparancy - log use of admin related method calls & activitypub auto-rejections to a logger account
Diffstat (limited to 'app/services/suspend_account_service.rb')
-rw-r--r--app/services/suspend_account_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/suspend_account_service.rb b/app/services/suspend_account_service.rb
index 86c7ac137..c38e6c814 100644
--- a/app/services/suspend_account_service.rb
+++ b/app/services/suspend_account_service.rb
@@ -40,6 +40,8 @@ class SuspendAccountService < BaseService
     @account = account
     @options = options
 
+    LogWorker.perform_async("\xf0\x9f\x97\x91\xef\xb8\x8f Suspending account '#{@account.acct}'.")
+
     reject_follows!
     purge_user!
     purge_profile!