RFC9698 - JMAPACCESS Extension for IMAP
This commit is contained in:
@@ -500,12 +500,12 @@ impl<T: SessionStream> SessionData<T> {
|
||||
}
|
||||
Attribute::EmailId => {
|
||||
items.push(DataItem::EmailId {
|
||||
email_id: Id::from_parts(account_id, id).to_string(),
|
||||
email_id: Id::from_parts(data.thread_id, id).to_string(),
|
||||
});
|
||||
}
|
||||
Attribute::ThreadId => {
|
||||
items.push(DataItem::ThreadId {
|
||||
thread_id: Id::from_parts(account_id, data.thread_id).to_string(),
|
||||
thread_id: Id::from_parts(0, data.thread_id).to_string(),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -192,8 +192,7 @@ impl<T: SessionStream> SessionData<T> {
|
||||
items_response.push((
|
||||
*item,
|
||||
StatusItemType::String(
|
||||
Id::from_parts(mailbox.account_id, mailbox.mailbox_id)
|
||||
.to_string(),
|
||||
Id::from_parts(0, mailbox.mailbox_id).to_string(),
|
||||
),
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user