goto cleanup;
}
- account = modest_tny_account_store_get_tny_account_by_account (modest_runtime_get_account_store(),
+ account = modest_tny_account_store_get_server_account (modest_runtime_get_account_store(),
account_name,
TNY_ACCOUNT_TYPE_STORE);
if (!account) {
goto cleanup;
}
- account = modest_tny_account_store_get_tny_account_by_account (modest_runtime_get_account_store(),
+ account = modest_tny_account_store_get_server_account (modest_runtime_get_account_store(),
rf_helper->account_name,
TNY_ACCOUNT_TYPE_STORE);
if (!account) {
return;
}
- if (!strcmp (account_name, MODEST_ACTUAL_LOCAL_FOLDERS_ACCOUNT_ID)) {
+ if (!strcmp (account_name, MODEST_LOCAL_FOLDERS_ACCOUNT_ID)) {
account_name = g_strdup (data->account_name);
}
transport_account =
- TNY_TRANSPORT_ACCOUNT(modest_tny_account_store_get_tny_account_by_account
+ TNY_TRANSPORT_ACCOUNT(modest_tny_account_store_get_server_account
(modest_runtime_get_account_store(),
account_name,
TNY_ACCOUNT_TYPE_TRANSPORT));
}
MsgData *data = modest_msg_edit_window_get_msg_data (edit_window);
- if (!strcmp (account_name, MODEST_ACTUAL_LOCAL_FOLDERS_ACCOUNT_ID)) {
+ if (!strcmp (account_name, MODEST_LOCAL_FOLDERS_ACCOUNT_ID)) {
account_name = g_strdup (data->account_name);
}