Prevent bouncing to recipients

This commit is contained in:
M66B
2021-02-07 18:59:59 +01:00
parent d0d0960f1f
commit 89393d0299
2 changed files with 18 additions and 5 deletions

View File

@@ -3612,8 +3612,6 @@ public class FragmentCompose extends FragmentBase {
} else if (EntityMessage.DSN_HARD_BOUNCE.equals(dsn)) {
if (ref.return_path != null)
data.draft.to = ref.return_path;
else if (BuildConfig.DEBUG)
data.draft.to = ref.from;
}
} else {
// Prevent replying to self