Gracefully handle the elephant

This commit is contained in:
r 2020-02-26 11:27:42 +00:00
parent c41f9272f9
commit d5230852cf
3 changed files with 31 additions and 21 deletions

View file

@ -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)
}