mirror of
https://github.com/zulip/zulip.git
synced 2025-11-18 04:43:58 +00:00
Since we allow calling `add_messages` without checking fetch status, it can lead to non-contiguous message history due to latest message being added to a message list without previous messages being fetched. To fix it, we only allow adding new messages via message_fetch which properly sets `anchor` to the last message in the list before fetching and adding messages to the list.
13 KiB
13 KiB