* lisp/nnimap.el (nnimap-request-article-part): Don't use
authorueno <ueno>
Thu, 2 Mar 2000 04:37:56 +0000 (04:37 +0000)
committerueno <ueno>
Thu, 2 Mar 2000 04:37:56 +0000 (04:37 +0000)
`imap-capability' to detect BODYDETAIL response.

lisp/nnimap.el

index 53d1e3f..41082eb 100644 (file)
@@ -620,7 +620,7 @@ function is generally only called when Gnus is shutting down."
              (erase-buffer)
              (setq fetch-data (imap-fetch article part
                                           prop nil nnimap-server-buffer))
-             (if (imap-capability 'IMAP4rev1 nnimap-server-buffer)
+             (if (eq prop 'BODYDETAIL)
                  (insert (nth 2 (car fetch-data)))
                (insert fetch-data))
              (nnheader-ms-strip-cr)