diff options
author | 2024-10-05 20:37:30 -0700 | |
---|---|---|
committer | 2024-10-05 21:21:12 -0700 | |
commit | e555e442fba0a9ca3c8cf67444e8c42f79db359a (patch) | |
tree | e7ee91ff4842ef23569833e0443be91545d4c42e /client/model.go | |
parent | 600dea6ce54989a792e666a0a26de0ee847e4562 (diff) | |
download | v2-e555e442fba0a9ca3c8cf67444e8c42f79db359a.tar.gz v2-e555e442fba0a9ca3c8cf67444e8c42f79db359a.tar.zst v2-e555e442fba0a9ca3c8cf67444e8c42f79db359a.zip |
feat: add new settings option to allow external fonts
Diffstat (limited to 'client/model.go')
-rw-r--r-- | client/model.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/model.go b/client/model.go index f0583ae4..0a6cd4d1 100644 --- a/client/model.go +++ b/client/model.go @@ -45,6 +45,7 @@ type User struct { MediaPlaybackRate float64 `json:"media_playback_rate"` BlockFilterEntryRules string `json:"block_filter_entry_rules"` KeepFilterEntryRules string `json:"keep_filter_entry_rules"` + ExternalFontHosts string `json:"external_font_hosts"` } func (u User) String() string { @@ -88,6 +89,7 @@ type UserModificationRequest struct { MediaPlaybackRate *float64 `json:"media_playback_rate"` BlockFilterEntryRules *string `json:"block_filter_entry_rules"` KeepFilterEntryRules *string `json:"keep_filter_entry_rules"` + ExternalFontHosts *string `json:"external_font_hosts"` } // Users represents a list of users. |