From 6afcdb90517f67852b7fe779c7f101c65d019b34 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sat, 21 Jul 2001 01:27:49 +0000 Subject: [PATCH] Change UPDATE-IMAP-FOLDER-LENGTH! so that it always signals a modification event. --- v7/src/imail/imail-imap.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/v7/src/imail/imail-imap.scm b/v7/src/imail/imail-imap.scm index f1dcb73da..583d5de36 100644 --- a/v7/src/imail/imail-imap.scm +++ b/v7/src/imail/imail-imap.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: imail-imap.scm,v 1.182 2001/07/08 05:25:29 cph Exp $ +;;; $Id: imail-imap.scm,v 1.183 2001/07/21 01:27:49 cph Exp $ ;;; ;;; Copyright (c) 1999-2001 Massachusetts Institute of Technology ;;; @@ -940,13 +940,13 @@ (with-interrupt-mask interrupt-mask (lambda (interrupt-mask) interrupt-mask - (read-message-headers! folder n))) - (object-modified! folder 'INCREASE-LENGTH n count)) + (read-message-headers! folder n)))) ((= count n) (set-imap-folder-messages-synchronized?! folder #t)) (else (error "EXISTS response decreased folder length:" - folder)))) + folder))) + (object-modified! folder 'SET-LENGTH n count)) (begin (detach-all-messages! folder) (let ((v (imap-folder-messages folder)) -- 2.25.1