mirror of https://github.com/zulip/zulip.git
Only send get_updates_xhr error if we don't have a timeout either.
(imported from commit b77c6c67917f8d2bc5d59fb46f3a5ffa4a0ac443)
This commit is contained in:
parent
b8579c6848
commit
d6aa8ecaff
|
@ -477,7 +477,7 @@ function send_message(request) {
|
|||
} else {
|
||||
send_message_ajax(request, success);
|
||||
}
|
||||
if (get_updates_xhr === undefined) {
|
||||
if (get_updates_xhr === undefined && get_updates_timeout === undefined) {
|
||||
restart_get_updates({dont_block: true});
|
||||
blueslip.error("Restarting get_updates because it was not running during send");
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ var globals =
|
|||
+ ' send_summarize_in_stream'
|
||||
+ ' suppress_unread_counts'
|
||||
+ ' msg_metadata_cache'
|
||||
+ ' get_updates_xhr'
|
||||
+ ' get_updates_xhr get_updates_timeout'
|
||||
;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue