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