X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-tny-folder.c;h=62438ab0264dca9e26dcc28e4fb688f1b1507753;hp=14474d286ffbc44b7649c81b864ff7dae71a777c;hb=66390524cd133ecdbe9a4365c08d60fe7547b300;hpb=180a67fe712b82fbd8f07a8c5647c9840181f2ff diff --git a/src/modest-tny-folder.c b/src/modest-tny-folder.c index 14474d2..62438ab 100644 --- a/src/modest-tny-folder.c +++ b/src/modest-tny-folder.c @@ -137,8 +137,8 @@ modest_tny_folder_get_rules (const TnyFolder *folder) if (!account) return -1; /* no account: nothing is allowed */ - proto = modest_protocol_info_get_protocol ( - tny_account_get_proto (account)); + proto = modest_protocol_info_get_protocol (tny_account_get_proto (account), + MODEST_TRANSPORT_STORE_PROTOCOL); if (proto == MODEST_PROTOCOL_STORE_IMAP) { rules = 0;