Some bug fixes

This commit is contained in:
syuilo
2018-04-08 03:58:11 +09:00
parent a1b490afa7
commit a02ee3a08b
81 changed files with 337 additions and 1318 deletions

View File

@@ -78,7 +78,7 @@ export default async (user: IUser, note: INote, reaction: string) => new Promise
});
// ユーザーがローカルユーザーかつ自動ウォッチ設定がオンならばこの投稿をWatchする
if (isLocalUser(user) && user.account.settings.autoWatch !== false) {
if (isLocalUser(user) && user.settings.autoWatch !== false) {
watch(user._id, note);
}
@@ -88,7 +88,7 @@ export default async (user: IUser, note: INote, reaction: string) => new Promise
// リアクターがローカルユーザーかつリアクション対象がリモートユーザーの投稿なら配送
if (isLocalUser(user) && isRemoteUser(note._user)) {
deliver(user, content, note._user.account.inbox).save();
deliver(user, content, note._user.inbox).save();
}
//#endregion
});