diff options
author | r <r@freesoftwareextremist.com> | 2019-12-21 13:26:31 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2019-12-21 13:26:31 +0000 |
commit | 2678f33157d147ba548793709cd8fbaabb4eaae2 (patch) | |
tree | 37d4775452f68dc8a52f3156758dc3475feeda68 /model/postContext.go | |
parent | 3af4361927d65b896ac3f9e2f0170cbbef63c0c0 (diff) | |
download | bloat-2678f33157d147ba548793709cd8fbaabb4eaae2.tar.gz bloat-2678f33157d147ba548793709cd8fbaabb4eaae2.tar.bz2 |
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
Diffstat (limited to '')
-rw-r--r-- | model/postContext.go (renamed from model/replyContext.go) | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/model/replyContext.go b/model/postContext.go index b17aacb..90e5771 100644 --- a/model/replyContext.go +++ b/model/postContext.go @@ -1,5 +1,10 @@ package model +type PostContext struct { + DefaultVisibility string + ReplyContext *ReplyContext +} + type ReplyContext struct { InReplyToID string InReplyToName string |