mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
This verifies that the client passed a last_event_id that actually came from the queue instead of making up an ID from the future. It turns out one of our tests was making up such an ID, but legitimate clients are expected not to do so. The previous version of this commit (commite00d4be6d5, #12888) had to be reverted (commitb86c5cc490) because it was missing the `to_dict`/`from_dict` migration code. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>