summaryrefslogtreecommitdiff
path: root/src/services/following/requests/accept.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-10-30 14:34:32 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-10-30 14:34:32 +0900
commit7afa541a53c1b00e8f7fb6f5d211789b3e4c52bb (patch)
treec436302533b1d4fdae91eb87b31cc003077a4294 /src/services/following/requests/accept.ts
parentRefactor (diff)
downloadmisskey-7afa541a53c1b00e8f7fb6f5d211789b3e4c52bb.tar.gz
misskey-7afa541a53c1b00e8f7fb6f5d211789b3e4c52bb.tar.bz2
misskey-7afa541a53c1b00e8f7fb6f5d211789b3e4c52bb.zip
Fix #3040
Diffstat (limited to 'src/services/following/requests/accept.ts')
-rw-r--r--src/services/following/requests/accept.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/services/following/requests/accept.ts b/src/services/following/requests/accept.ts
index 32453c74dc..97cd733b2e 100644
--- a/src/services/following/requests/accept.ts
+++ b/src/services/following/requests/accept.ts
@@ -70,5 +70,7 @@ export default async function(followee: IUser, follower: IUser) {
detail: true
}).then(packed => publishMainStream(followee._id, 'meUpdated', packed));
- packUser(followee, follower).then(packed => publishMainStream(follower._id, 'follow', packed));
+ packUser(followee, follower, {
+ detail: true
+ }).then(packed => publishMainStream(follower._id, 'follow', packed));
}