From 70e0da90055039710856ea03b9022c2e5a687eaf Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 13 Jul 2022 11:32:47 +0200 Subject: small fixes --- src/imap/command/authenticated.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/imap/command') diff --git a/src/imap/command/authenticated.rs b/src/imap/command/authenticated.rs index 32a8e1e..7f6531c 100644 --- a/src/imap/command/authenticated.rs +++ b/src/imap/command/authenticated.rs @@ -167,8 +167,13 @@ impl<'a> AuthenticatedContext<'a> { } } + let msg = if is_lsub { + "LSUB completed" + } else { + "LIST completed" + }; Ok(( - Response::ok("LIST completed")?.with_body(ret), + Response::ok(msg)?.with_body(ret), flow::Transition::None, )) } -- cgit v1.2.3