Add quick reply

This commit is contained in:
r 2021-09-05 17:17:59 +00:00
parent 6340b60d8c
commit 816281c225
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 NotificationData struct {
*CommonData
Notifications []*mastodon.Notification

View file

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