Merge pull request #162 from jonhoo/unilateral-flags
FLAGS can be sent as unilateral response
This commit is contained in:
commit
1c30076326
1 changed files with 3 additions and 0 deletions
|
|
@ -322,6 +322,9 @@ fn handle_unilateral<'a>(
|
|||
Response::MailboxData(MailboxDatum::Recent(n)) => {
|
||||
unsolicited.send(UnsolicitedResponse::Recent(n)).unwrap();
|
||||
}
|
||||
Response::MailboxData(MailboxDatum::Flags(_)) => {
|
||||
// TODO: next breaking change:
|
||||
}
|
||||
Response::MailboxData(MailboxDatum::Exists(n)) => {
|
||||
unsolicited.send(UnsolicitedResponse::Exists(n)).unwrap();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue