(nnimap-update-info): Don't ignore groups that have no UIDNEXT.
[gnus] / lisp / nnimap.el
index 56a0392..f8eb665 100644 (file)
@@ -1016,8 +1016,10 @@ textual parts.")
 
 (defun nnimap-update-info (info marks)
   (when (and marks
-            ;; Ignore groups with no UIDNEXT values.
-            (nth 4 marks))
+            ;; Ignore groups with no UIDNEXT/marks.  This happens for
+            ;; completely empty groups.
+            (or (car marks)
+                (nth 4 marks)))
     (destructuring-bind (existing flags high low uidnext start-article
                                  permanent-flags) marks
       (let ((group (gnus-info-group info))