Starring a message makes it read.

(imported from commit 80c1af9e34f4904266a64d89c57cd82e84c02b48)
This commit is contained in:
Steve Howell 2013-07-09 09:57:20 -04:00
parent 1edd9a1d9f
commit 6347bdfcc8
1 changed files with 3 additions and 0 deletions

View File

@ -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 {