Files
zulip/static/js
Steve Howell 94da59ff81 local echo: Don't show collapse/uncollapse items.
Trying to collapse a locally echoed message is a rare
thing to do, and it was buggy before this due to races
between the server acking the original message and the
user flipping the collapsed flag.

We now calculate `should_display_collapse` and
`should_display_uncollapse` in the JS code and simplify
the template by eliminating all the inline if/else
logic.

(Note that we are about to disable the message menu
altogether for locally echoed messages, so this change
is partly future-proofing for when we put the menu
back for more innocuous commands.)
2017-12-26 09:01:21 -05:00
..
2017-11-09 16:26:38 +01:00
2017-10-18 21:55:43 -07:00
2017-08-22 09:37:17 -07:00
2017-11-09 16:26:38 +01:00
2017-08-14 13:03:57 -07:00
2017-11-29 23:06:11 -08:00
2017-07-04 13:54:33 -07:00