Default imap delimiter "." should not overwrite the main account delimiter

Issue #74 resolved
jubb created an issue

Hello and thanks for your plugin!

I have an issue regarding the imap delimiter:

  • I have setup a value in the Roundcube config: $config['imap_delimiter'] = '/';
  • I have setup a new identity and left the “Folder hierarchy delimiter” field blank
  • When I switch back from this new identity to my main identity, my “/” delimiter is overwritten by the ident_switch default value “.”

Should ident_switch use the Roundcube config value as the default value to prevent such issue?

Comments (3)

  1. Gergely Papp

    Try adding the following lines to reset the default delimiter in the session

                            $delimiter = isset($config['imap_delimiter']) ? $config['imap_delimiter']:'.';
                            $_SESSION['imap_delimiter'] = $delimiter;
    

    before the line around row 661

    $_SESSION['username'] = $rc->user->data['username'];
    

  2. Log in to comment