diff options
author | Alex Auvolat <alex@adnab.me> | 2022-07-21 12:50:44 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-07-21 12:50:44 +0200 |
commit | 441730e1f7a27541d52d1aaccc59a8204a96d079 (patch) | |
tree | 793b5f3cf1fede10881de7cca165023ad4966800 /src/mail/incoming.rs | |
parent | 54c467d3f77fae964400e9c1d78d32d9067c3b0f (diff) | |
download | aerogramme-441730e1f7a27541d52d1aaccc59a8204a96d079.tar.gz aerogramme-441730e1f7a27541d52d1aaccc59a8204a96d079.zip |
Fix open_mailbox
Diffstat (limited to 'src/mail/incoming.rs')
-rw-r--r-- | src/mail/incoming.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mail/incoming.rs b/src/mail/incoming.rs index bc579ed..26ca52a 100644 --- a/src/mail/incoming.rs +++ b/src/mail/incoming.rs @@ -109,7 +109,7 @@ async fn incoming_mail_watch_process_internal( if Some(id) != inbox.as_ref().map(|b| b.id) { match user.open_mailbox_by_id(id, uidvalidity).await { Ok(mb) => { - inbox = mb; + inbox = Some(mb); } Err(e) => { inbox = None; |