他のMisskeyインスタンスにリアクション情報を伝えるように
This commit is contained in:
parent
0b99483ccb
commit
02bb99ac02
6 changed files with 31 additions and 15 deletions
|
|
@ -87,7 +87,7 @@ export default async (user: IUser, note: INote, reaction: string) => new Promise
|
|||
//#region 配信
|
||||
// リアクターがローカルユーザーかつリアクション対象がリモートユーザーの投稿なら配送
|
||||
if (isLocalUser(user) && isRemoteUser(note._user)) {
|
||||
const content = pack(renderLike(user, note));
|
||||
const content = pack(renderLike(user, note, reaction));
|
||||
deliver(user, content, note._user.inbox);
|
||||
}
|
||||
//#endregion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue