Make narrow.by_subject 'read' its message.

(imported from commit e81140c440fecd283443eab46f0c65faffee8df1)
This commit is contained in:
Steve Howell 2013-07-08 14:27:48 -04:00
parent 465728da37
commit 0908f15109
2 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@ var globals =
+ ' fast_forward_pointer recent_subjects unread_subjects'
+ ' add_message_metadata'
+ ' respond_to_cursor respond_to_sent_message'
+ ' mark_message_as_read'
;

View File

@ -488,6 +488,7 @@ exports.by_subject = function (target_id, opts) {
exports.by_recipient(target_id, opts);
return;
}
mark_message_as_read(original);
opts = $.extend({}, {then_select_id: target_id}, opts);
exports.activate([
['stream', original.stream],