他のMisskeyインスタンスにリアクション情報を伝えるように

This commit is contained in:
syuilo
2018-04-23 15:27:01 +09:00
parent 0b99483ccb
commit 02bb99ac02
6 changed files with 31 additions and 15 deletions

View File

@@ -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