mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-10 13:58:46 +00:00
MRF policies fix
This commit is contained in:
parent
cfddec036c
commit
34940a65df
2 changed files with 20 additions and 6 deletions
|
@ -64,8 +64,16 @@ type MetaData struct {
|
|||
}
|
||||
|
||||
type FederationInfo struct {
|
||||
Enabled bool `json:enabled"`
|
||||
MrfPolicies []string `json:mrf_policies"`
|
||||
Enabled bool `json:"enabled"`
|
||||
MrfPolicies []string `json:"mrf_policies"`
|
||||
MrfSimple MRFSimple `json:"mrf_simple"`
|
||||
}
|
||||
|
||||
type MRFSimple struct {
|
||||
Reject []string `json:"reject"`
|
||||
MediaNsfw []string `json:"media_nsfw"`
|
||||
FederatedTimelineRemoval []string `json:"federated_timeline_removal"`
|
||||
RejectDeletes []string `json:"reject_deletes"`
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue