mirror of https://github.com/zulip/zulip.git
Make narrow.by_subject 'read' its message.
(imported from commit e81140c440fecd283443eab46f0c65faffee8df1)
This commit is contained in:
parent
465728da37
commit
0908f15109
|
@ -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'
|
||||
;
|
||||
|
||||
|
||||
|
|
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue