ManageSieve LOGOUT shoud reply with OK insted of BYE

This commit is contained in:
mdecimus 2024-02-27 17:25:05 +01:00
parent 414a1434e0
commit d94a6a2ec6

View file

@ -27,7 +27,7 @@ use crate::core::{Session, StatusResponse};
impl<T: AsyncRead + AsyncWrite> Session<T> {
pub async fn handle_logout(&mut self) -> super::OpResult {
Err(StatusResponse::bye(concat!(
Err(StatusResponse::ok(concat!(
"Stalwart ManageSieve v",
env!("CARGO_PKG_VERSION"),
" bids you farewell."