summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-02-15 21:03:26 +0300
committerAndrew Dolgov <[email protected]>2009-02-15 21:03:26 +0300
commitd7a1dbbd880fdfd9339d8fe3901d65a189701819 (patch)
tree3a8326f90650cbfb408357a249ede5bd95db1716 /functions.js
parent9b8493a7e02213a335818d119a95cf7c9a544859 (diff)
parse_counters: always try to sync new stuff on global unread change
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.js b/functions.js
index 6c14d278a..a8cac9a4b 100644
--- a/functions.js
+++ b/functions.js
@@ -459,7 +459,7 @@ function parse_counters(reply, scheduled_call) {
if (id == "global-unread") {
- if (ctr > global_unread) {
+ if (ctr != global_unread) {
offlineDownloadStart();
}