diff options
author | Andrew Dolgov <[email protected]> | 2018-11-29 21:07:19 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-11-29 21:07:19 +0300 |
commit | 1b91bb45646899179a8a08ea7af22dab256246c7 (patch) | |
tree | 4e13d11c06676bb6a2604416b8caaacc1570e3fa | |
parent | 4508e3103d12f6cb9b99c3f0471b83e799d596e9 (diff) |
don't compare result with undefined seq
-rw-r--r-- | js/tt-rss.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js index 654d125fb..9ff87d652 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; |