]> git.wh0rd.org Git - tt-rss.git/commitdiff
don't compare result with undefined seq
authorAndrew Dolgov <noreply@fakecake.org>
Thu, 29 Nov 2018 18:07:19 +0000 (21:07 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Thu, 29 Nov 2018 18:07:19 +0000 (21:07 +0300)
js/tt-rss.js

index 654d125fb16eebb7d152ef8d091bf0edd7939eb2..9ff87d652d3d8ccfd0a691b61c241ad27334ee9a 100644 (file)
@@ -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;