プロキシアカウントをユーザー名ではなくIDで保存するように
This commit is contained in:
parent
ce589fee8c
commit
8818648740
8 changed files with 67 additions and 22 deletions
|
@ -22,7 +22,9 @@ export async function pushUserToUserList(target: User, list: UserList) {
|
|||
// このインスタンス内にこのリモートユーザーをフォローしているユーザーがいなくても投稿を受け取るためにダミーのユーザーがフォローしたということにする
|
||||
if (Users.isRemoteUser(target)) {
|
||||
const proxy = await fetchProxyAccount();
|
||||
const content = renderActivity(renderFollow(proxy, target));
|
||||
deliver(proxy, content, target.inbox);
|
||||
if (proxy) {
|
||||
const content = renderActivity(renderFollow(proxy, target));
|
||||
deliver(proxy, content, target.inbox);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue