Livestream: stop pinned comments from appearing as latest #6888

Merged
infinite-persistence merged 1 commit from ip/livestream.pin.fix into master 2021-08-17 18:09:55 +02:00

1 commit

Author SHA1 Message Date
infinite-persistence
ecd42e244a
Livestream: stop pinned comments from appearing as latest
## Ticket
6879: Previously pinned livestream comments show as latest

## Issue
`comment.List` will always display the pinned comment first, hence the problem when the chat is refreshed.

## Approach
Completely split pinned comments from top-level comments in the Reducer, and the let the GUI (e.g. regular comments, livestream comments) decide how they want to display it.

For the case of livestream, there is no need to repeat the pinned comments in the regular chat area, since there is a dedicated area on top.
2021-08-16 19:17:34 +08:00