summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>2019-05-27 08:41:24 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-05-27 08:41:24 +0900
commit94ce4fa780f3c2db5a2b2b33152a9938cfe4065c (patch)
tree497deb608cdea9dca263ac92aafe2f6621d5df6f
parenti18n: ページ編集のカウンターの増加値 (#4995) (diff)
downloadsharkey-94ce4fa780f3c2db5a2b2b33152a9938cfe4065c.tar.gz
sharkey-94ce4fa780f3c2db5a2b2b33152a9938cfe4065c.tar.bz2
sharkey-94ce4fa780f3c2db5a2b2b33152a9938cfe4065c.zip
Fix #4996 (#4997)
-rw-r--r--src/models/repositories/user.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/models/repositories/user.ts b/src/models/repositories/user.ts
index f81fa6bc77..d3cd75b17e 100644
--- a/src/models/repositories/user.ts
+++ b/src/models/repositories/user.ts
@@ -176,6 +176,7 @@ export class UserRepository extends Repository<User> {
autoWatch: profile!.autoWatch,
alwaysMarkNsfw: profile!.alwaysMarkNsfw,
carefulBot: profile!.carefulBot,
+ autoAcceptFollowed: profile!.autoAcceptFollowed,
hasUnreadMessagingMessage: this.getHasUnreadMessagingMessage(user.id),
hasUnreadNotification: Notifications.count({
where: {