非正規化カラムを削除

非正規化するほどの情報じゃない
This commit is contained in:
syuilo 2019-04-12 00:42:39 +09:00
parent ab8c6515b8
commit 11c30eccb3
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
4 changed files with 12 additions and 11 deletions

View file

@ -41,7 +41,9 @@ export default async (user: User, note: Note) => {
// リアクターがローカルユーザーかつリアクション対象がリモートユーザーの投稿なら配送
if (Users.isLocalUser(user) && (note.userHost !== null)) {
const content = renderActivity(renderUndo(renderLike(user, note, exist.reaction), user));
deliver(user, content, note.userInbox);
Users.findOne(note.userId).then(u => {
deliver(user, content, u.inbox);
});
}
//#endregion
};