-
- /* FIXME: make this more finegrained; changes do not really affect _all_
- * accounts, and some do not affect tny accounts at all (such as 'last_update')
+ TnyAccount *store_account;
+
+ /* Clear the account cache */
+ store_account =
+ modest_tny_account_store_get_server_account (self,
+ account,
+ TNY_ACCOUNT_TYPE_STORE);
+ if (store_account) {
+ tny_store_account_delete_cache (TNY_STORE_ACCOUNT (store_account));
+ g_object_unref (store_account);
+ }
+
+ /* FIXME: make this more finegrained; changes do not
+ * really affect _all_ accounts, and some do not
+ * affect tny accounts at all (such as 'last_update')