After the source user is initialized, the original user's ioloop should be
activated back.
ctx->src_username :
dest_user->username;
+ mail_storage_service_io_deactivate_user(ctx->ctx.cur_service_user);
input.flags_override_add = MAIL_STORAGE_SERVICE_FLAG_NO_NAMESPACES |
MAIL_STORAGE_SERVICE_FLAG_NO_RESTRICT_ACCESS;
if (mail_storage_service_lookup_next(ctx->ctx.storage_service, &input,
i_fatal("Import namespace initialization failed: %s", error);
ctx->src_user = user;
+ mail_storage_service_io_deactivate_user(service_user);
mail_storage_service_user_unref(&service_user);
+ mail_storage_service_io_activate_user(ctx->ctx.cur_service_user);
}
static int