1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-04 22:25:50 +02:00

sharedInbox対応

This commit is contained in:
syuilo
2018-07-21 19:33:56 +09:00
parent 297a7f541e
commit 900a9cb34f
6 changed files with 25 additions and 8 deletions

View File

@@ -18,11 +18,13 @@ export default async function(followee: IUser, follower: IUser) {
// 非正規化
_follower: {
host: follower.host,
inbox: isRemoteUser(follower) ? follower.inbox : undefined
inbox: isRemoteUser(follower) ? follower.inbox : undefined,
sharedInbox: isRemoteUser(follower) ? follower.sharedInbox : undefined
},
_followee: {
host: followee.host,
inbox: isRemoteUser(followee) ? followee.inbox : undefined
inbox: isRemoteUser(followee) ? followee.inbox : undefined,
sharedInbox: isRemoteUser(followee) ? followee.sharedInbox : undefined
}
});