From: Andrew Dolgov Date: Thu, 29 Nov 2018 18:07:19 +0000 (+0300) Subject: don't compare result with undefined seq X-Git-Tag: 18.12~32 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1b91bb45646899179a8a08ea7af22dab256246c7;p=tt-rss.git don't compare result with undefined seq --- diff --git a/js/tt-rss.js b/js/tt-rss.js index 654d125f..9ff87d65 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -940,7 +940,7 @@ function handle_rpc_json(transport, scheduled_call) { const seq = reply['seq']; - if (get_seq() != seq) { + if (seq && get_seq() != seq) { console.log("[handle_rpc_json] sequence mismatch: " + seq + " (want: " + get_seq() + ")"); return true;