home.py: move initial_pointer as pointer to register_ret.

This is the last of the fields in page_params that could come from
register_ret but wasn't doing so.
This commit is contained in:
fionabunny
2017-04-24 12:33:48 -07:00
committed by Tim Abbott
parent d3e7e6542a
commit 78f2df5649
6 changed files with 12 additions and 15 deletions

View File

@@ -75,7 +75,7 @@ exports.fast_forward_pointer = function () {
};
exports.initialize = function initialize() {
pointer.server_furthest_read = page_params.initial_pointer;
pointer.server_furthest_read = page_params.pointer;
if (page_params.orig_initial_pointer !== undefined &&
page_params.orig_initial_pointer > pointer.server_furthest_read) {
pointer.server_furthest_read = page_params.orig_initial_pointer;