aboutsummaryrefslogtreecommitdiff
path: root/src/imap/command/authenticated.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/imap/command/authenticated.rs')
-rw-r--r--src/imap/command/authenticated.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/imap/command/authenticated.rs b/src/imap/command/authenticated.rs
index bc9fddf..6208290 100644
--- a/src/imap/command/authenticated.rs
+++ b/src/imap/command/authenticated.rs
@@ -134,14 +134,13 @@ impl<'a> AuthenticatedContext<'a> {
.to_string()
.try_into()
.map_err(|_| anyhow!("invalid mailbox name"))?;
- let mut items = vec![];
+ let mut items = vec![FlagNameAttribute::Extension(
+ "Subscribed".try_into().unwrap(),
+ )];
if !*is_real {
items.push(FlagNameAttribute::Noselect);
}
if is_lsub {
- items.push(FlagNameAttribute::Extension(
- "\\Subscribed".try_into().unwrap(),
- ));
ret.push(Data::Lsub {
items,
delimiter: Some(MAILBOX_HIERARCHY_DELIMITER),