summaryrefslogtreecommitdiff
path: root/src/processor/http
diff options
context:
space:
mode:
Diffstat (limited to 'src/processor/http')
-rw-r--r--src/processor/http/follow.ts4
-rw-r--r--src/processor/http/perform-activitypub.ts2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/processor/http/follow.ts b/src/processor/http/follow.ts
index 9b8337f2e7..4804657fd6 100644
--- a/src/processor/http/follow.ts
+++ b/src/processor/http/follow.ts
@@ -5,8 +5,8 @@ import User, { isLocalUser, pack as packUser, ILocalUser } from '../../models/us
import Following from '../../models/following';
import event from '../../common/event';
import notify from '../../common/notify';
-import context from '../../common/remote/activitypub/renderer/context';
-import render from '../../common/remote/activitypub/renderer/follow';
+import context from '../../remote/activitypub/renderer/context';
+import render from '../../remote/activitypub/renderer/follow';
import config from '../../conf';
export default ({ data }, done) => Following.findOne({ _id: data.following }).then(({ followerId, followeeId }) => {
diff --git a/src/processor/http/perform-activitypub.ts b/src/processor/http/perform-activitypub.ts
index 5b1a02173d..51e1ede145 100644
--- a/src/processor/http/perform-activitypub.ts
+++ b/src/processor/http/perform-activitypub.ts
@@ -1,5 +1,5 @@
import User from '../../models/user';
-import act from '../../common/remote/activitypub/act';
+import act from '../../remote/activitypub/act';
export default ({ data }, done) => User.findOne({ _id: data.actor })
.then(actor => act(actor, data.outbox))