mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
Only send get_updates_xhr error if we don't have a timeout either.
(imported from commit b77c6c67917f8d2bc5d59fb46f3a5ffa4a0ac443)
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user