X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-tny-account-store.c;h=9ed5db905974f89798d0e37383911c3ef19717ca;hp=5edaf83cc5106d85e8582b4fbb1596f21320dca0;hb=eec4b19f682dc36d0dcafd63b6058b979a98a1fc;hpb=ed0f4872e0f92fae59976bebb6b0508fb09c091f diff --git a/src/modest-tny-account-store.c b/src/modest-tny-account-store.c index 5edaf83..9ed5db9 100644 --- a/src/modest-tny-account-store.c +++ b/src/modest-tny-account-store.c @@ -473,15 +473,10 @@ on_account_changed (ModestAccountMgr *acc_mgr, TnyAccount *tny_account; tny_account = TNY_ACCOUNT (tny_iterator_get_current (iter)); if (tny_account) { - TnyConnectionStatus conn_status = tny_account_get_connection_status (tny_account); - - if (conn_status != TNY_CONNECTION_STATUS_RECONNECTING && - conn_status != TNY_CONNECTION_STATUS_INIT) { - if (!strcmp (tny_account_get_id (tny_account), account_name)) { - found = TRUE; - modest_tny_account_update_from_account (tny_account); - g_signal_emit (G_OBJECT(self), signals[ACCOUNT_CHANGED_SIGNAL], 0, tny_account); - } + if (!strcmp (tny_account_get_id (tny_account), account_name)) { + found = TRUE; + modest_tny_account_update_from_account (tny_account); + g_signal_emit (G_OBJECT(self), signals[ACCOUNT_CHANGED_SIGNAL], 0, tny_account); } g_object_unref (tny_account); }