mirror of
https://github.com/discourse/discourse.git
synced 2025-02-28 20:08:57 +08:00

Followup 55ef2d0698627348e4f340f079504419c0939677. In the cases where the user has no last_read_message_id for a channel, we want to make sure that a page_size is set for the ChannelViewBuilder + MessagesQuery, otherwise we end up loading way more messages than needed (the additional message loading was fixed in the last commit).