+2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * elmo.el (elmo-message-fetch): Unset unread flag on server when
+ message is cached.
+
2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* elmo.el (elmo-message-fetch): Removed argument `outbuf' and
strategy section unread)
(when (and (not unread)
(elmo-message-flagged-p folder number 'unread))
- (elmo-message-unset-flag folder number 'unread 'local))
+ (elmo-message-unset-flag folder number 'unread
+ ;; If cache does not exists, update only msgdb.
+ ;; otherwise, flag status on server should be
+ ;; changed since it is never touched at this
+ ;; point.
+ (not (elmo-message-flagged-p
+ folder number 'cached))))
t))
(luna-define-method elmo-message-fetch-with-cache-process ((folder elmo-folder)