mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 10:26:28 +00:00
Starring a message makes it read.
(imported from commit 80c1af9e34f4904266a64d89c57cd82e84c02b48)
This commit is contained in:
@@ -495,6 +495,9 @@ function toggle_star(row_id) {
|
||||
// Update the message object pointed to by the various message
|
||||
// lists.
|
||||
var message = current_msg_list.get(row_id);
|
||||
|
||||
mark_message_as_read(message);
|
||||
|
||||
if (message.starred === true) {
|
||||
message.starred = false;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user