Fix Subscribed
This commit is contained in:
parent
9b7d999fd5
commit
d4e0e66581
1 changed files with 3 additions and 4 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue