File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
core/src/main/java/com/fsck/k9/controller
ui/legacy/src/main/java/com/fsck/k9/ui/messagelist Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -201,6 +201,11 @@ class MessagingControllerWrapper(
201201 messagingController.markAllMessagesRead(account, folderId)
202202 }
203203
204+ fun checkAuthenticationProblem (id : AccountId ) = {
205+ val account = getAccountDtoOrThrow(id)
206+ messagingController.checkAuthenticationProblem(account)
207+ }
208+
204209 fun isMoveCapable (message : MessageReference ) = messagingController.isMoveCapable(message)
205210 fun isCopyCapable (message : MessageReference ) = messagingController.isCopyCapable(message)
206211
Original file line number Diff line number Diff line change @@ -89,7 +89,6 @@ import net.thunderbird.core.featureflag.FeatureFlagResult
8989import net.thunderbird.core.logging.legacy.Log
9090import net.thunderbird.core.preference.GeneralSettingsManager
9191import net.thunderbird.core.ui.theme.api.FeatureThemeProvider
92- import net.thunderbird.feature.mail.account.api.AccountManager
9392import net.thunderbird.feature.mail.message.list.domain.DomainContract
9493import net.thunderbird.feature.mail.message.list.ui.dialog.SetupArchiveFolderDialogFragmentFactory
9594import net.thunderbird.feature.notification.api.ui.InAppNotificationHost
@@ -1730,7 +1729,7 @@ class MessageListFragment :
17301729 messageListItems
17311730 .map { it.account }
17321731 .toSet()
1733- .forEach( messagingController:: checkAuthenticationProblem)
1732+ .forEach { account -> messagingController. checkAuthenticationProblem(account.id) }
17341733
17351734 resetActionMode()
17361735 computeBatchDirection()
You can’t perform that action at this time.
0 commit comments