diff --git a/src/engine/imap-engine/imap-engine-generic-folder.vala b/src/engine/imap-engine/imap-engine-generic-folder.vala index cfdc4a01..a06a36b0 100644 --- a/src/engine/imap-engine/imap-engine-generic-folder.vala +++ b/src/engine/imap-engine/imap-engine-generic-folder.vala @@ -556,7 +556,7 @@ private class Geary.ImapEngine.GenericFolder : Geary.AbstractFolder, Geary.Folde // notify any threads of execution waiting for the remote folder to open that the result // of that operation is ready try { - remote_semaphore.notify_result(remote != null, null); + remote_semaphore.notify_result(remote_folder != null, null); } catch (Error notify_err) { debug("Unable to fire semaphore notifying remote folder ready/not ready: %s", notify_err.message);