mirror of
https://github.com/zulip/zulip.git
synced 2025-11-18 04:43:58 +00:00
pointer.js: Add setter for server_furthest_read.
After migration to an ES6 module, `server_furthest_read` would no longer be mutable from outside the module. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
committed by
Tim Abbott
parent
e559662c8c
commit
f9bf414b58
@@ -18,6 +18,9 @@ exports.set_furthest_read = function (value) {
|
||||
exports.furthest_read = value;
|
||||
};
|
||||
exports.server_furthest_read = -1;
|
||||
exports.set_server_furthest_read = function (value) {
|
||||
exports.server_furthest_read = value;
|
||||
};
|
||||
|
||||
var pointer_update_in_flight = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user