zulip/static
Tim Abbott 9729b1a4ad search: Remove buggy double-call of set_message_booleans.
In a refactor last fall, we changed `set_message_booleans` to mutate
state (specifically, destroying msg.flags in favor of setting
properties like `msg.unread`).  This was fine for most code paths, but
the maybe_add_narrowed_messages code path called
`message_store.add_message_metadata` twice (once after talking to the
server to find out whether the messages go into the current narrow),
and so when we extracted set_message_booleans from that, the second
call didn't properly short-circuit.

We fix this by just removing the second call, and also add a comment
warning about the add_message_metadata call there as being dangerous.

Fixes #8184.
2018-04-28 14:39:24 -07:00
..
assets Fix favicon generator script. 2018-01-30 10:32:55 -08:00
audio
generated
html static/html/5xx.html: Clean up to use 4 space indentation. 2018-01-27 23:06:58 +05:30
icons/fonts Generate custom-icon-webfont on each provision or update-prod-static. 2017-11-20 16:36:49 -08:00
images webhooks/sentry: Update docs to conform to new style guide. 2018-04-23 12:03:34 -07:00
js search: Remove buggy double-call of set_message_booleans. 2018-04-28 14:39:24 -07:00
locale i18n: Update translations. 2018-04-17 12:41:06 -07:00
styles settings: Add modal fade. 2018-04-28 12:55:15 -07:00
swagger org setting: Add time limits for message deleting. 2018-04-27 19:22:28 -07:00
templates settings: Remove obsolete default_desktop_notifications setting. 2018-04-28 13:46:07 -07:00
third static: Remove unnecessary handlebars README. 2018-04-28 10:46:16 -07:00
ts webpack: Upgrade webpack version 4.5.0. 2018-04-23 15:49:33 -07:00
.gitignore i18n: Make Git ignore mobile.json resources. 2018-01-29 12:49:51 -08:00
favicon.ico
node_modules