* elmo-imap4.el (elmo-network-initialize-session):
authorokada <okada>
Sun, 18 Aug 2002 08:49:41 +0000 (08:49 +0000)
committerokada <okada>
Sun, 18 Aug 2002 08:49:41 +0000 (08:49 +0000)
  Check capability after starttls.

elmo/ChangeLog
elmo/elmo-imap4.el

index 3306012..8c775dd 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-18  Kenichi OKADA  <okada@opaopa.org>
+
+       * elmo-imap4.el (elmo-network-initialize-session):
+       Check capability after starttls.
+
 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
 
        * elmo-util.el (elmo-list-delete): Added optional argument
index c980327..edd2702 100644 (file)
@@ -928,7 +928,12 @@ If CHOP-LENGTH is not specified, message set is not chopped."
            (signal 'elmo-open-error
                    '(elmo-imap4-starttls-error)))
        (elmo-imap4-send-command-wait session "starttls")
-       (starttls-negotiate process)))))
+       (starttls-negotiate process)
+       (elmo-imap4-session-set-capability-internal
+        session
+        (elmo-imap4-response-value
+         (elmo-imap4-send-command-wait session "capability")
+         'capability))))))
 
 (luna-define-method elmo-network-authenticate-session ((session
                                                        elmo-imap4-session))