mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-19 16:46:55 +00:00
GODT-1840: Safe map for mailboxID cache
This commit is contained in:
@ -235,7 +235,7 @@ func (iu *imapUpdates) getIDs(address, mailboxName string) (addressID, mailboxID
|
||||
}
|
||||
addressID = user.addressID
|
||||
|
||||
if v := user.mailboxIDs[mailboxName]; v != "" {
|
||||
if v := user.mailboxIDs.get(mailboxName); v != "" {
|
||||
mailboxID = v
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user