Subscribing shared mailboxes doesn't work (fixes #251)

This commit is contained in:
mdecimus 2024-07-06 11:02:39 +02:00
parent 56ca136aa6
commit be8f23296d

View file

@ -98,7 +98,7 @@ impl<T: SessionStream> SessionData<T> {
}; };
// Subscribe/unsubscribe to mailbox // Subscribe/unsubscribe to mailbox
if let Some(value) = mailbox.inner.mailbox_subscribe(account_id, subscribe) { if let Some(value) = mailbox.inner.mailbox_subscribe(self.account_id, subscribe) {
// Build batch // Build batch
let mut changes = match self.jmap.begin_changes(account_id).await { let mut changes = match self.jmap.begin_changes(account_id).await {
Ok(changes) => changes, Ok(changes) => changes,