diff options
author | 2023-05-06 17:42:58 +0200 | |
---|---|---|
committer | 2023-05-06 17:42:58 +0200 | |
commit | 6d138588d8fc450121a3230612e8cf2d9b4e9908 (patch) | |
tree | 5c0885badc38facd90ec5e532e67795f5b39e945 /testrig/testmodels.go | |
parent | [chore] update readthedocs deps, use conda (#1742) (diff) | |
download | gotosocial-6d138588d8fc450121a3230612e8cf2d9b4e9908.tar.xz |
[feature] Implement the preferences client API (#1740)
This adds the preferences endpoint to our Mastodon Client API
implementation. It's a read-only endpoint that returns a number of
user preferences. Applications can query these settings when logging in
a user (for the first time) to configure themselves.
Diffstat (limited to 'testrig/testmodels.go')
-rw-r--r-- | testrig/testmodels.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testrig/testmodels.go b/testrig/testmodels.go index 269bc9470..6638acbde 100644 --- a/testrig/testmodels.go +++ b/testrig/testmodels.go @@ -487,8 +487,8 @@ func NewTestAccounts() map[string]*gtsmodel.Account { Locked: TrueBool(), Discoverable: FalseBool(), Privacy: gtsmodel.VisibilityFollowersOnly, - Sensitive: FalseBool(), - Language: "en", + Sensitive: TrueBool(), + Language: "fr", URI: "http://localhost:8080/users/1happyturtle", URL: "http://localhost:8080/@1happyturtle", FetchedAt: time.Time{}, |