File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
legacy/ui/legacy/src/main/java/com/fsck/k9/activity Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -622,7 +622,7 @@ protected void onResume() {
622622 }
623623
624624 private void triggerIfNeededSentFolderNotFoundInAppNotification () {
625- if (account != null && account .getSentFolderId () == null ) {
625+ if (account != null && account .isUploadSentMessages () && ! account . hasSentFolder () ) {
626626 final SentFolderNotFoundNotification notification = NotificationFactoryCoroutineCompat .create (
627627 continuation -> SentFolderNotFoundNotification (account .getUuid (), continuation )
628628 );
@@ -875,7 +875,8 @@ public void performSendAfterChecks() {
875875 return ;
876876 }
877877
878- if (!ignoreSentFolderNotAssigned && !account .hasSentFolder ()) {
878+ if (account .isUploadSentMessages ()
879+ && !ignoreSentFolderNotAssigned && !account .hasSentFolder ()) {
879880 sentFolderNotFoundDialogFragmentFactory .show (account .getUuid (), getSupportFragmentManager ());
880881 return ;
881882 }
You can’t perform that action at this time.
0 commit comments