zulip/frontend_tests
Steve Howell ff54d52589 Extract message.set_read_flag().
This code adds 'read' to message.flags and sets message.unread
to false.

It's not clear that the boolean message.unread is used in any
meaningful way, but we set it to false to avoid confusion.  The
bankruptcy code was not doing this before.

Another quirk that existed before was that you could get two
'read' flags in a message when you declared bankruptcy.  It's
also plausible that this could happen if you marked a message
as read via two different ways.  It probably did not cause
user-facing bugs, but it would be confusing for troubleshooting.

Fixes #5032.
2017-08-04 13:31:26 -07:00
..
casper_lib Add explicit message field for locally_echoed. 2017-07-21 11:38:25 -07:00
casper_tests settings: Migrate main settings-change code to API. 2017-07-31 13:08:06 -07:00
node_tests Extract message.set_read_flag(). 2017-08-04 13:31:26 -07:00
zjsunit Enable Hot Module Replacement in webpack. 2017-07-18 11:02:05 -07:00
.eslintrc.json Eslint: Add additioanl rules, some for GCI. 2016-12-05 10:01:56 -08:00
run-casper Disable proxy setting for test-backend and test-js-with-casper. 2017-04-18 12:35:44 -07:00