From: Jose Dapena Paz Date: Mon, 2 Feb 2009 15:56:49 +0000 (+0000) Subject: Fix send receive send queue handling (fixes NB#97184) X-Git-Tag: git_migration_finished~682 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=3918e2e76687b7390de87ff386f9bc310a7d297f Fix send receive send queue handling (fixes NB#97184) pmo-trunk-r7361 --- diff --git a/src/modest-mail-operation.c b/src/modest-mail-operation.c index 30f1a57..6f8e13e 100644 --- a/src/modest-mail-operation.c +++ b/src/modest-mail-operation.c @@ -1411,9 +1411,9 @@ update_account_send_mail (UpdateAccountInfo *info) return; /* Get the transport account */ - transport_account = (TnyTransportAccount *) - modest_tny_account_store_get_transport_account_for_open_connection (account_store, - info->account_name); + transport_account = (TnyTransportAccount *) + modest_tny_account_store_get_server_account (account_store, info->account_name, + TNY_ACCOUNT_TYPE_TRANSPORT); if (transport_account) { ModestTnySendQueue *send_queue;