Don't wait 1 second before syncing updates manually controlled flags.

(imported from commit 8526f5d77aee078b5bc282da093009e19f016a44)
This commit is contained in:
Tim Abbott
2014-01-30 12:13:14 -05:00
parent 20457d695d
commit abbe0f781f
2 changed files with 7 additions and 3 deletions

View File

@@ -697,7 +697,7 @@ function sync_message_flag(messages, flag_name, set_flag) {
if (batched_updaters.hasOwnProperty(flag_key)) {
updater = batched_updaters[flag_key];
} else {
updater = batched_flag_updater(flag_name, op);
updater = batched_flag_updater(flag_name, op, true);
batched_updaters[flag_key] = updater;
}