diff --git a/src/engine/api/geary-account-information.vala b/src/engine/api/geary-account-information.vala index edc867a1..35b4a5fd 100644 --- a/src/engine/api/geary-account-information.vala +++ b/src/engine/api/geary-account-information.vala @@ -437,8 +437,9 @@ public class Geary.AccountInformation : BaseObject { break; } - if (old_path == null && new_path != null || - old_path != null && !old_path.equal_to(new_path)) { + if ((old_path == null && new_path != null) || + (old_path != null && new_path == null) || + (old_path != null && !old_path.equal_to(new_path))) { changed(); } }