Phuks-co / throat

Open Source link aggregator and discussion platform powering Phuks
https://phuks.co
MIT License
74 stars 32 forks source link

Start saving comment history again #237

Closed happy-river closed 4 years ago

happy-river commented 4 years ago

Showing the comment edit history had stopped working, and the reason was that the line of code that creates the SubPostCommentHistory entry was inadvertently deleted in 41cedb2f (#152). While I was at it I noticed there were two previous versions of that line of code, which set the time of the history record to different things, neither one of which seemed right, so I made it use the time that matches when the content in the record was entered. The edit history time is not currently shown in the user interface.