Notify about new mailbox

This commit is contained in:
Michal Horejsek
2020-04-16 14:50:38 +02:00
parent 7a87a7ea2f
commit e57a3c2a3a
3 changed files with 16 additions and 0 deletions

View File

@ -78,6 +78,7 @@ func (storeAddress *Address) createOrUpdateMailboxEvent(label *pmapi.Label) erro
return err
}
storeAddress.mailboxes[label.ID] = mailbox
mailbox.store.imapMailboxCreated(storeAddress.address, mailbox.labelName)
} else {
mailbox.labelName = prefix + label.Name
mailbox.color = label.Color