mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
This directly prevents a traceback when submessage events arrive in the wrong order. This was probably a symptom of not updating message.submessages for not-yet-widgeted messages, which was fixed in an earlier commit, but we want defensive code in case of races or other glitches, and it's not the end of the world is somebody sees partial survey results due to some corner case.