Add quick reply

This commit is contained in:
r 2021-09-05 17:17:59 +00:00
parent 4351155f67
commit 54c42455f3
8 changed files with 96 additions and 2 deletions

View file

@ -69,6 +69,13 @@ type ThreadData struct {
ReplyMap map[string][]mastodon.ReplyInfo
}
type QuickReplyData struct {
*CommonData
Ancestor *mastodon.Status
Status *mastodon.Status
PostContext model.PostContext
}
type StatusData struct {
*CommonData
Status *mastodon.Status

View file

@ -20,6 +20,7 @@ const (
RootPage = "root.tmpl"
TimelinePage = "timeline.tmpl"
ThreadPage = "thread.tmpl"
QuickReplyPage = "quickreply.tmpl"
StatusPopup = "status.tmpl"
NotificationPage = "notification.tmpl"
UserPage = "user.tmpl"