forked from mirrors/misskey
Refactor
This commit is contained in:
@@ -67,7 +67,7 @@ export default async function(user: User, note: Note, choice: number) {
|
||||
}
|
||||
});
|
||||
|
||||
const profile = await UserProfiles.findOne({ userId: user.id });
|
||||
const profile = await UserProfiles.findOne(user.id);
|
||||
|
||||
// ローカルユーザーが投票した場合この投稿をWatchする
|
||||
if (Users.isLocalUser(user) && profile!.autoWatch) {
|
||||
|
||||
Reference in New Issue
Block a user