summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-02-16 13:16:05 +0300
committerAndrew Dolgov <[email protected]>2009-02-16 13:16:05 +0300
commit65c0779b7750e1c80827d852d97b8ca233f7454e (patch)
tree903d3e5c1856863a6539031383864a3b23d825e1 /functions.js
parentc16694c84810e1a59da1a411e5c5aa385932f47d (diff)
offline: tweak syncing
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.js b/functions.js
index a8cac9a4b..4aa5486a3 100644
--- a/functions.js
+++ b/functions.js
@@ -459,8 +459,8 @@ function parse_counters(reply, scheduled_call) {
if (id == "global-unread") {
- if (ctr != global_unread) {
- offlineDownloadStart();
+ if (ctr > global_unread) {
+ offlineDownloadStart(1);
}
global_unread = ctr;