From a3d1026bf300a8bd7a95e9a25822cfa52adc4208 Mon Sep 17 00:00:00 2001
From: Chocobozzz <me@florianbigard.com>
Date: Tue, 31 Jul 2018 18:04:45 +0200
Subject: [PATCH] Add index on sharedInboxUrl

---
 server/models/activitypub/actor.ts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/server/models/activitypub/actor.ts b/server/models/activitypub/actor.ts
index aeb69e7b4..35d7c35e8 100644
--- a/server/models/activitypub/actor.ts
+++ b/server/models/activitypub/actor.ts
@@ -90,6 +90,9 @@ enum ScopeNames {
     {
       fields: [ 'inboxUrl', 'sharedInboxUrl' ]
     },
+    {
+      fields: [ 'sharedInboxUrl' ]
+    },
     {
       fields: [ 'serverId' ]
     },