Mediahandler (#21)

Media GET and media PUT handlers
This commit is contained in:
Tobi Smethurst 2021-05-10 16:29:05 +02:00 committed by GitHub
commit 742f985d5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 322 additions and 56 deletions

View file

@ -76,15 +76,15 @@ type Account struct {
*/
// Does this account need an approval for new followers?
Locked bool
Locked bool `pg:",default:true"`
// Should this account be shown in the instance's profile directory?
Discoverable bool
// Default post privacy for this account
Privacy Visibility
// Set posts from this account to sensitive by default?
Sensitive bool
Sensitive bool `pg:",default:false"`
// What language does this account post in?
Language string
Language string `pg:",default:en"`
/*
ACTIVITYPUB THINGS