Don't move the pointer when in lurk mode

(imported from commit 6acda4b6d924d605e8ade945e1e4f10ce1e2864e)
This commit is contained in:
Reid Barton 2013-01-15 19:46:49 -05:00
parent 9e23907259
commit 169fb36674
1 changed files with 2 additions and 1 deletions

View File

@ -168,10 +168,11 @@ function update_selected_message(message, opts) {
message.addClass(cls);
var new_selected_id = rows.id(message);
if (! narrow.active() && new_selected_id > furthest_read)
if (! narrow.active() && lurk_stream === undefined && new_selected_id > furthest_read)
{
// Narrowing is a temporary view on top of the home view and
// doesn't permanently affect where you are.
// Similarly, lurk mode does not affect your pointer.
furthest_read = new_selected_id;
}
selected_message_id = new_selected_id;