diff options
| author | r <r@freesoftwareextremist.com> | 2020-02-26 11:27:42 +0000 |
|---|---|---|
| committer | r <r@freesoftwareextremist.com> | 2020-02-26 11:27:42 +0000 |
| commit | d5230852cf4da238a0d3acb219f9049e9d669969 (patch) | |
| tree | 86b1a01e87b1cc4ca6c386fa93c26dd21bd5ba13 /service | |
| parent | c41f9272f919644f66148cafb179a4df0e7eae17 (diff) | |
| download | bloat-d5230852cf4da238a0d3acb219f9049e9d669969.tar.gz bloat-d5230852cf4da238a0d3acb219f9049e9d669969.zip | |
Gracefully handle the elephant
Diffstat (limited to 'service')
| -rw-r--r-- | service/service.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/service/service.go b/service/service.go index 2504f43..e81e007 100644 --- a/service/service.go +++ b/service/service.go @@ -339,6 +339,7 @@ func (svc *service) ServeThreadPage(ctx context.Context, c *model.Client, for i := range statuses { statuses[i].ShowReplies = true statuses[i].ReplyMap = replies + statuses[i].ReplyNumber = i addToReplyMap(replies, statuses[i].InReplyToID, statuses[i].ID, i+1) } |
