summaryrefslogtreecommitdiff
path: root/src/services/following/create.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-08 03:58:11 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-08 03:58:11 +0900
commita02ee3a08bac55c9f0b29cb6bc0a15726b7cc3c8 (patch)
treebf3c3dacd69737bf79eea0311fed1ddc504b15a5 /src/services/following/create.ts
parentPost --> Note (diff)
downloadmisskey-a02ee3a08bac55c9f0b29cb6bc0a15726b7cc3c8.tar.gz
misskey-a02ee3a08bac55c9f0b29cb6bc0a15726b7cc3c8.tar.bz2
misskey-a02ee3a08bac55c9f0b29cb6bc0a15726b7cc3c8.zip
Some bug fixes
Diffstat (limited to 'src/services/following/create.ts')
-rw-r--r--src/services/following/create.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/services/following/create.ts b/src/services/following/create.ts
index d919f4487f..31e3be19ed 100644
--- a/src/services/following/create.ts
+++ b/src/services/following/create.ts
@@ -60,13 +60,13 @@ export default async function(follower: IUser, followee: IUser, activity?) {
const content = renderFollow(follower, followee);
content['@context'] = context;
- deliver(follower, content, followee.account.inbox).save();
+ deliver(follower, content, followee.inbox).save();
}
if (isRemoteUser(follower) && isLocalUser(followee)) {
const content = renderAccept(activity);
content['@context'] = context;
- deliver(followee, content, follower.account.inbox).save();
+ deliver(followee, content, follower.inbox).save();
}
}