From 1b91bb45646899179a8a08ea7af22dab256246c7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 29 Nov 2018 21:07:19 +0300 Subject: [PATCH] don't compare result with undefined seq --- js/tt-rss.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5