mirror of
https://github.com/zulip/zulip.git
synced 2026-07-03 21:10:12 +08:00
On update_message events, we were changing narrow before we locally updated the data, this resulted in a weird mismatch between locally available data and that fetched from the server. Ideally, we should not be requesting any data from the server in most scenarios since the messages for new narrow is locally available. As a result, the new narrow didn't have any messages other than a breadcrumb message. To fix this, we change narrow post locally updating the data. The original bug was not exactly reproduced, but a similar version of it was simulated and was found to be fixed. Tweaked by tabbott to preserve an optimization. |
||
|---|---|---|
| .. | ||
| assets | ||
| audio | ||
| generated | ||
| html | ||
| images | ||
| js | ||
| shared | ||
| styles | ||
| templates | ||
| third | ||
| .eslintrc.json | ||
| .gitignore | ||
| favicon.ico | ||