Skip to content

Commit 608605b

Browse files
authored
Add Discord friend connections and shared connections opt-out fields (#583)
* feat: Add Discord friend connections opt-out setting * feat: Add Discord friend connections opt-out property * feat: Add Mutuals feature opt-out property
1 parent 370874a commit 608605b

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

openapi/components/requests/UpdateUserRequest.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ properties:
2525
description: MUST specify currentPassword as well to change display name
2626
email:
2727
type: string
28+
hasDiscordFriendsOptOut:
29+
type: boolean
30+
description: Opt out of the Discord Friend Connections feature
2831
hasSharedConnectionsOptOut:
2932
type: boolean
3033
description: Opt out of the Mutuals feature

openapi/components/schemas/CurrentUser.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,16 @@ properties:
9494
type: string
9595
hasBirthday:
9696
type: boolean
97+
hasDiscordFriendsOptOut:
98+
type: boolean
9799
hasEmail:
98100
type: boolean
99101
hasLoggedInFromClient:
100102
type: boolean
101103
hasPendingEmail:
102104
type: boolean
105+
hasSharedConnectionsOptOut:
106+
type: boolean
103107
hideContentFilterSettings:
104108
type: boolean
105109
homeLocation:

0 commit comments

Comments
 (0)