} else if (TNY_IS_ACCOUNT (folder_store)) {
/* Use the folder store as an account: */
result = modest_platform_connect_and_wait_if_network_account (NULL, TNY_ACCOUNT (folder_store));
} else if (TNY_IS_ACCOUNT (folder_store)) {
/* Use the folder store as an account: */
result = modest_platform_connect_and_wait_if_network_account (NULL, TNY_ACCOUNT (folder_store));