aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/user.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-07-27 16:26:25 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-07-31 11:35:19 +0200
commit594d3e48d8a887bbf48ce4cc594c1c36c9640fb1 (patch)
treebae28fa6215a3a3c6ccd78aea6ea7e75c500a96f /server/lib/user.ts
parent94148c9028829b5576a5dcbfba2c7fb9cf6443d3 (diff)
downloadPeerTube-594d3e48d8a887bbf48ce4cc594c1c36c9640fb1.tar.gz
PeerTube-594d3e48d8a887bbf48ce4cc594c1c36c9640fb1.tar.zst
PeerTube-594d3e48d8a887bbf48ce4cc594c1c36c9640fb1.zip
Add abuse messages/states notifications
Diffstat (limited to 'server/lib/user.ts')
-rw-r--r--server/lib/user.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/lib/user.ts b/server/lib/user.ts
index 6e7a738ee..aa14f0b54 100644
--- a/server/lib/user.ts
+++ b/server/lib/user.ts
@@ -141,6 +141,8 @@ function createDefaultUserNotificationSettings (user: MUserId, t: Transaction |
141 commentMention: UserNotificationSettingValue.WEB, 141 commentMention: UserNotificationSettingValue.WEB,
142 newFollow: UserNotificationSettingValue.WEB, 142 newFollow: UserNotificationSettingValue.WEB,
143 newInstanceFollower: UserNotificationSettingValue.WEB, 143 newInstanceFollower: UserNotificationSettingValue.WEB,
144 abuseNewMessage: UserNotificationSettingValue.WEB | UserNotificationSettingValue.EMAIL,
145 abuseStateChange: UserNotificationSettingValue.WEB | UserNotificationSettingValue.EMAIL,
144 autoInstanceFollowing: UserNotificationSettingValue.WEB 146 autoInstanceFollowing: UserNotificationSettingValue.WEB
145 } 147 }
146 148