diff options
author | r <r@freesoftwareextremist.com> | 2019-12-19 15:12:35 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2019-12-19 15:12:35 +0000 |
commit | 6e02be73b5ccdd14c4e62952aa2229abad0efb40 (patch) | |
tree | d05097e778ac101f307b53303dbf0e3bbc928026 /renderer | |
parent | d7fc7cf2f5e9c11a401ee34ed498bca762c72b79 (diff) | |
download | bloat-6e02be73b5ccdd14c4e62952aa2229abad0efb40.tar.gz bloat-6e02be73b5ccdd14c4e62952aa2229abad0efb40.zip |
Fix reply template
Diffstat (limited to 'renderer')
-rw-r--r-- | renderer/model.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/renderer/model.go b/renderer/model.go index 2a320cc..ad356e2 100644 --- a/renderer/model.go +++ b/renderer/model.go @@ -37,17 +37,15 @@ func NewTimelinePageTemplateData(statuses []*mastodon.Status, hasNext bool, next type ThreadPageTemplateData struct { Statuses []*mastodon.Status - PostReply bool ReplyToID string ReplyContent string ReplyMap map[string][]mastodon.ReplyInfo NavbarData *NavbarTemplateData } -func NewThreadPageTemplateData(statuses []*mastodon.Status, postReply bool, replyToID string, replyContent string, replyMap map[string][]mastodon.ReplyInfo, navbarData *NavbarTemplateData) *ThreadPageTemplateData { +func NewThreadPageTemplateData(statuses []*mastodon.Status, replyToID string, replyContent string, replyMap map[string][]mastodon.ReplyInfo, navbarData *NavbarTemplateData) *ThreadPageTemplateData { return &ThreadPageTemplateData{ Statuses: statuses, - PostReply: postReply, ReplyToID: replyToID, ReplyContent: replyContent, ReplyMap: replyMap, |