Fix unwanted IMAP connections on startup caused by processing rules.
authorAndrej Kacian <ticho@claws-mail.org>
Tue, 17 Apr 2018 19:17:34 +0000 (21:17 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Tue, 17 Apr 2018 19:17:34 +0000 (21:17 +0200)
commita29676ed69c4ff8566ae4eb8ca7e650e40cda22b
tree76f069861229276af21e7f877910144f7a53332f
parent4836480cc6a001a7bc71c64b09ab587ca270289d
Fix unwanted IMAP connections on startup caused by processing rules.

The culprit was a combination of folder_item_prefs_clear()
setting item->enable_processing to TRUE even though default
value should be FALSE, and initial_processing() not skipping
over root folders, which do not have this variable later set
to correct default value in xml_to_folder_item().

Closes bug #3993: Claws Mail connects to IMAP server when it should not
src/folder_item_prefs.c
src/main.c