Implement announce
And bug fixes
This commit is contained in:
@@ -83,11 +83,11 @@ export default async (user: IUser, note: INote, reaction: string) => new Promise
|
||||
}
|
||||
|
||||
//#region 配信
|
||||
const content = renderLike(user, note);
|
||||
content['@context'] = context;
|
||||
|
||||
// リアクターがローカルユーザーかつリアクション対象がリモートユーザーの投稿なら配送
|
||||
if (isLocalUser(user) && isRemoteUser(note._user)) {
|
||||
const content = renderLike(user, note);
|
||||
content['@context'] = context;
|
||||
|
||||
deliver(user, content, note._user.inbox).save();
|
||||
}
|
||||
//#endregion
|
||||
|
Reference in New Issue
Block a user