Commit 9dc77e37 authored by Andreas Schwab's avatar Andreas Schwab

Fix gnus-group-get-new-news-this-group on group with closed server

* lisp/gnus/nnimap.el (nnimap-change-group): Lookup server
method and pass to nnimap-open-server.
parent d7933ff2
......@@ -1831,7 +1831,9 @@ Return the server's response to the SELECT or EXAMINE command."
(let ((open-result t))
(when (and server
(not (nnimap-server-opened server)))
(setq open-result (nnimap-open-server server nil no-reconnect)))
(let ((method (gnus-server-to-method server)))
(setq open-result (nnimap-open-server (nth 1 method) (nthcdr 2 method)
((not open-result)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment