This commit is contained in:
parent
5daa9262f6
commit
cb0d237b6a
7 changed files with 38 additions and 11 deletions
|
@ -116,7 +116,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
|
|||
});
|
||||
|
||||
// この投稿をWatchする
|
||||
// TODO: ユーザーが「リアクションしたときに自動でWatchする」設定を
|
||||
// オフにしていた場合はしない
|
||||
watch(user._id, post);
|
||||
if (user.settings.auto_watch !== false) {
|
||||
watch(user._id, post);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue