This commit is contained in:
syuilo
2019-04-17 14:32:59 +09:00
parent 85959a3b9b
commit 0ede390fef
17 changed files with 17 additions and 17 deletions

View File

@@ -80,7 +80,7 @@ export default async (user: User, note: Note, reaction?: string) => {
}
});
const profile = await UserProfiles.findOne({ userId: user.id });
const profile = await UserProfiles.findOne(user.id);
// ユーザーがローカルユーザーかつ自動ウォッチ設定がオンならばこの投稿をWatchする
if (Users.isLocalUser(user) && profile!.autoWatch) {