about summary refs log tree commit diff
path: root/app/controllers/activitypub/inboxes_controller.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-08-31 00:02:59 +0200
committerGitHub <noreply@github.com>2017-08-31 00:02:59 +0200
commit2db9ccaf3eeada3106e88e08163495ae8e741574 (patch)
tree010e0d0238762d0c439461193f30e92f32077599 /app/controllers/activitypub/inboxes_controller.rb
parentcecf204bbbf9e5a296b4a6d28ffa1bbe27a741ed (diff)
Add sharedInbox to actors (#4737)
Diffstat (limited to 'app/controllers/activitypub/inboxes_controller.rb')
-rw-r--r--app/controllers/activitypub/inboxes_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/activitypub/inboxes_controller.rb b/app/controllers/activitypub/inboxes_controller.rb
index 078494c20..5fce505fd 100644
--- a/app/controllers/activitypub/inboxes_controller.rb
+++ b/app/controllers/activitypub/inboxes_controller.rb
@@ -18,7 +18,7 @@ class ActivityPub::InboxesController < Api::BaseController
   private
 
   def set_account
-    @account = Account.find_local!(params[:account_username])
+    @account = Account.find_local!(params[:account_username]) if params[:account_username]
   end
 
   def body