Special case

This commit is contained in:
M66B 2019-03-30 15:39:50 +01:00
parent e4d6782ab9
commit 09f35a1230
1 changed files with 4 additions and 1 deletions

View File

@ -1720,12 +1720,15 @@ public class FragmentCompose extends FragmentBase {
if (BuildConfig.DEBUG) {
String from = null;
String to = null;
String delivered = Helper.canonicalAddress(ref.deliveredto);
String me = Helper.canonicalAddress(Helper.myAddress().getAddress());
if (ref.from != null && ref.from.length > 0)
from = Helper.canonicalAddress(((InternetAddress) ref.from[0]).getAddress());
if (ref.to != null && ref.to.length > 0)
to = Helper.canonicalAddress(((InternetAddress) ref.to[0]).getAddress());
if (from != null && from.equals(me)) {
if (delivered.equals(me) && from != null && from.equals(me)) {
if (to != null && to.equals(me))
draft.to = ref.reply;
else