From 63ad7aac9f15df300bc701c3a402283662f0630b Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Mon, 14 Feb 2022 13:35:06 -0500 Subject: [PATCH] fix(mail): identify junk mailbox in lookup Fixes #5482 --- SoObjects/Mailer/SOGoMailAccount.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/Mailer/SOGoMailAccount.m b/SoObjects/Mailer/SOGoMailAccount.m index 7c16c3831..277c98650 100644 --- a/SoObjects/Mailer/SOGoMailAccount.m +++ b/SoObjects/Mailer/SOGoMailAccount.m @@ -1206,7 +1206,7 @@ static NSString *inboxFolderName = @"INBOX"; junkFolder = [self folderWithTraversal: [self junkFolderNameInContext: _ctx] andClassName: @"SOGoJunkFolder"]; - [trashFolder retain]; + [junkFolder retain]; } return junkFolder;