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.zip |
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 'model/postContext.go')
-rw-r--r-- | model/postContext.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/model/postContext.go b/model/postContext.go new file mode 100644 index 0000000..90e5771 --- /dev/null +++ b/model/postContext.go @@ -0,0 +1,12 @@ +package model + +type PostContext struct { + DefaultVisibility string + ReplyContext *ReplyContext +} + +type ReplyContext struct { + InReplyToID string + InReplyToName string + ReplyContent string +} |