From be8f23296d8c83829c1838ea044886ad59c0f224 Mon Sep 17 00:00:00 2001 From: mdecimus Date: Sat, 6 Jul 2024 11:02:39 +0200 Subject: [PATCH] Subscribing shared mailboxes doesn't work (fixes #251) --- crates/imap/src/op/subscribe.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/imap/src/op/subscribe.rs b/crates/imap/src/op/subscribe.rs index 771abdcc..68c8cc10 100644 --- a/crates/imap/src/op/subscribe.rs +++ b/crates/imap/src/op/subscribe.rs @@ -98,7 +98,7 @@ impl SessionData { }; // 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 let mut changes = match self.jmap.begin_changes(account_id).await { Ok(changes) => changes,