Report correct unread count for nnimap groups
* lisp/gnus/nnimap.el (nnimap-request-group): Use '(1 . 0) range as default, and calculate the actual range the same way as other backends. (Bug@72949) Copyright-paperwork-exempt: Yes
This commit is contained in:
parent
c436d4eff9
commit
5c129791c5
1 changed files with 2 additions and 2 deletions
|
@ -918,10 +918,10 @@ during splitting, which may be slow."
|
|||
(nnimap-finish-retrieve-group-infos server info sequences
|
||||
t)
|
||||
(setq active (nth 2 (assoc group nnimap-current-infos)))))
|
||||
(setq active (or active '(0 . 1)))
|
||||
(setq active (or active '(1 . 0)))
|
||||
(erase-buffer)
|
||||
(insert (format "211 %d %d %d %S\n"
|
||||
(- (cdr active) (car active))
|
||||
(max (1+ (- (cdr active) (car active))) 0)
|
||||
(car active)
|
||||
(cdr active)
|
||||
group))
|
||||
|
|
Loading…
Add table
Reference in a new issue