nnimap.el: Explicitly ask for server capabilities
* lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't assume full capabilities will be returned in the login-result.
This commit is contained in:
parent
5f5fe275ec
commit
b0aa05907f
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ textual parts.")
|
|||
(funcall (nth 2 credentials)))
|
||||
;; See if CAPABILITY is set as part of login
|
||||
;; response.
|
||||
(dolist (response (cddr login-result))
|
||||
(dolist (response (cddr (nnimap-command "CAPABILITY")))
|
||||
(when (string= "CAPABILITY" (upcase (car response)))
|
||||
(setf (nnimap-capabilities nnimap-object)
|
||||
(mapcar #'upcase (cdr response))))))
|
||||
|
|
Loading…
Add table
Reference in a new issue