Commit 17dd2281 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen Committed by Katsumi Yamaoka
Browse files

nnimap.el (nnimap-find-uid-response): The UID is the last element in the list.

parent cccb4b4c
......@@ -6,6 +6,7 @@
(nnimap-request-accept-article): Use the UID returned, if any.
(nnimap-request-move-article): Use the UID returned, if any.
(nnimap-get-groups): Reimplement to work with folded lines.
(nnimap-find-uid-response): The UID is the last element in the list.
 
2010-11-25 Katsumi Yamaoka <yamaoka@jpl.org>
 
......
......@@ -984,7 +984,7 @@ textual parts.")
group message-id)))))))))
(defun nnimap-find-uid-response (name list)
(let ((result (nth 2 (nnimap-find-response-element name list))))
(let ((result (car (last (nnimap-find-response-element name list)))))
(and result
(string-to-number 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