Reverts
9949dc3649ac7a00289f6bf0662c793bee3d4286. It doesn't seem to be
actually needed at least now, and it's breaking:
* SELECT INBOX -> failure due to remote server being down
* SELECT INBOX -> NO [CANNOT] Invalid mailbox name: Name is empty
const char *prefix = list->set->imapc_list_prefix;
const char *storage_name;
- /* check if authentication has failed, if it has, short circuit here
- to avoid the error being clobbered by mailbox_list_get_hierarchy_sep */
- if (list->client->auth_failed)
- return "";
-
storage_name = mailbox_list_default_get_storage_name(_list, vname);
if (*prefix != '\0' && strcasecmp(storage_name, "INBOX") != 0) {
storage_name = storage_name[0] == '\0' ? prefix :