mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
web: Add setters for rewired variables.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
e2cc125583
commit
52e59a9605
@@ -16,7 +16,11 @@ export function send_flag_update_for_messages(msg_ids: number[], flag: string, o
|
||||
},
|
||||
});
|
||||
}
|
||||
export const _unread_batch_size = 1000;
|
||||
export let _unread_batch_size = 1000;
|
||||
|
||||
export function rewire__unread_batch_size(value: typeof _unread_batch_size): void {
|
||||
_unread_batch_size = value;
|
||||
}
|
||||
|
||||
export const send_read = (function () {
|
||||
let queue: Message[] = [];
|
||||
|
||||
Reference in New Issue
Block a user