mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
The logic for inserting bookend when prepending messages was missing. Fixed by inserting the bookend at the correct position. Reproducer: Modify `message_fetch` parameters to only fetch one message per fetch to ensure that each message is prepended. Subscribe to a channel and send a message. Reload. Bookend is absent before the latest message without this commit.