mirror of https://github.com/zulip/zulip.git
Starring a message makes it read.
(imported from commit 80c1af9e34f4904266a64d89c57cd82e84c02b48)
This commit is contained in:
parent
1edd9a1d9f
commit
6347bdfcc8
|
@ -495,6 +495,9 @@ function toggle_star(row_id) {
|
||||||
// Update the message object pointed to by the various message
|
// Update the message object pointed to by the various message
|
||||||
// lists.
|
// lists.
|
||||||
var message = current_msg_list.get(row_id);
|
var message = current_msg_list.get(row_id);
|
||||||
|
|
||||||
|
mark_message_as_read(message);
|
||||||
|
|
||||||
if (message.starred === true) {
|
if (message.starred === true) {
|
||||||
message.starred = false;
|
message.starred = false;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue