agical / friendsunhosted

FRIENDS#UNHOSTED - Own your network!
http://friendsunhosted.com/
Other
13 stars 2 forks source link

Posts older than four days shall be visible if commented #54

Open tobbeanderberg opened 11 years ago

tobbeanderberg commented 11 years ago

Currently when posts are older than four days they are not visible by default and the user need to click at the 'Get more updates' link to make them visible, even when the post has very recent comments.

The function that selects which posts that are to be visible should take the comments into account.

johlrogge commented 11 years ago

I think the problem is that we read the X last posts and if the "head" of a thread is in the AGE > X range the comments can never be attached to a head (since it is never read) and are not shown.

Perhaps as a "quickfix" perhaps we can count the time of a thread-head to be max(thread_head, newest_comment_in_thread) when sorting?