aboutsummaryrefslogtreecommitdiff
path: root/src/imap/command
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-07-13 11:32:47 +0200
committerAlex Auvolat <alex@adnab.me>2022-07-13 11:32:47 +0200
commit70e0da90055039710856ea03b9022c2e5a687eaf (patch)
treeae84c3072c58a72602494eaa9d5cb649bc5bf65c /src/imap/command
parentfaca15f164c8e2860d27144f75f2dee05742ec6d (diff)
downloadaerogramme-70e0da90055039710856ea03b9022c2e5a687eaf.tar.gz
aerogramme-70e0da90055039710856ea03b9022c2e5a687eaf.zip
small fixes
Diffstat (limited to 'src/imap/command')
-rw-r--r--src/imap/command/authenticated.rs7
1 files changed, 6 insertions, 1 deletions
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,
))
}