Skip to content
  • Kristian Klausen's avatar
    Fix UpdateMailboxCommand to work correctly when there is only a single mailbox · 843c31db
    Kristian Klausen authored
    This commit update UpdateMailboxCommand to use a new function
    ("replace_sender") to replace a existing mailbox, instead of
    remove/insert, which doesn't work if the number of mailboxes is 1.
    
    This fix two bugs (if number of mailboxes is 1):
    1. The "name" couldn't be updated.
    2. If you did change the address, the old mailbox wasn't removed.
    
    See also #226
    843c31db