summaryrefslogtreecommitdiffstats
path: root/buffy.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-10-29 05:43:19 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-10-29 05:43:19 +0000
commit18b9d02a09666e31fcb6d0858eb862521145c848 (patch)
tree7eb6333f98685f9de65472985602d3f7f3f29567 /buffy.c
parent4f2a8707c16d2b1fbf5ca9d06e1aeaecbf97b052 (diff)
Don't check the number of postponed messages every time the status
line is updated - this gets quite slow when used with slow IMAP connections.
Diffstat (limited to 'buffy.c')
-rw-r--r--buffy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/buffy.c b/buffy.c
index ab9e870f..b7f722ef 100644
--- a/buffy.c
+++ b/buffy.c
@@ -380,6 +380,10 @@ int mutt_buffy_check (int force)
BuffyNotify++;
}
+ /* update postponed count as well, on force */
+ if (force && Postponed)
+ mutt_num_postponed ();
+
BuffyDoneTime = BuffyTime;
return (BuffyCount);
}