Add support for scopes

- Add scope selection for for new post
- Save new post scope in db
- Copy scope on reply
- Show scope icon on posts
This commit is contained in:
r 2019-12-21 13:26:31 +00:00
parent 3af4361927
commit 2678f33157
13 changed files with 126 additions and 70 deletions

12
model/postContext.go Normal file
View file

@ -0,0 +1,12 @@
package model
type PostContext struct {
DefaultVisibility string
ReplyContext *ReplyContext
}
type ReplyContext struct {
InReplyToID string
InReplyToName string
ReplyContent string
}