Link to QRESYNC RFC section describing VANISHED vs EXPUNGE responses.

This commit is contained in:
Todd Mortimer 2020-12-06 15:49:11 -05:00
parent 5bb1500d14
commit 166a0cb6b3

View file

@ -158,6 +158,10 @@ pub fn parse_expunge(
}
}
// If the server sends a VANISHED response then they must only send VANISHED
// in lieu of EXPUNGE responses for the rest of this connection, so it is
// always one or the other.
// https://tools.ietf.org/html/rfc7162#section-3.2.10
if !vanished.is_empty() {
Ok(Deleted::from_vanished(vanished))
} else {