|
|
@ -5923,9 +5923,12 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
data.draft.inreplyto = ref.msgid;
|
|
|
|
data.draft.inreplyto = ref.msgid;
|
|
|
|
data.draft.thread = ref.thread;
|
|
|
|
data.draft.thread = ref.thread;
|
|
|
|
|
|
|
|
|
|
|
|
if ("list".equals(action) && ref.list_post != null)
|
|
|
|
if ("list".equals(action) && ref.list_post != null) {
|
|
|
|
|
|
|
|
data.draft.from = ref.to;
|
|
|
|
data.draft.to = ref.list_post;
|
|
|
|
data.draft.to = ref.list_post;
|
|
|
|
|
|
|
|
}
|
|
|
|
else if ("dsn".equals(action)) {
|
|
|
|
else if ("dsn".equals(action)) {
|
|
|
|
|
|
|
|
data.draft.from = ref.to;
|
|
|
|
if (EntityMessage.DSN_RECEIPT.equals(dsn)) {
|
|
|
|
if (EntityMessage.DSN_RECEIPT.equals(dsn)) {
|
|
|
|
if (ref.receipt_to != null)
|
|
|
|
if (ref.receipt_to != null)
|
|
|
|
data.draft.to = ref.receipt_to;
|
|
|
|
data.draft.to = ref.receipt_to;
|
|
|
@ -5945,6 +5948,7 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
data.draft.from = ref.to;
|
|
|
|
data.draft.from = ref.to;
|
|
|
|
data.draft.to = (ref.reply == null || ref.reply.length == 0 ? ref.from : ref.reply);
|
|
|
|
data.draft.to = (ref.reply == null || ref.reply.length == 0 ? ref.from : ref.reply);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (ref.identity != null) {
|
|
|
|
if (ref.identity != null) {
|
|
|
|
EntityIdentity recognized = db.identity().getIdentity(ref.identity);
|
|
|
|
EntityIdentity recognized = db.identity().getIdentity(ref.identity);
|
|
|
@ -6008,7 +6012,6 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
EntityLog.log(context, "Preferred=null");
|
|
|
|
EntityLog.log(context, "Preferred=null");
|
|
|
|
} else
|
|
|
|
} else
|
|
|
|
EntityLog.log(context, "Recognized=null");
|
|
|
|
EntityLog.log(context, "Recognized=null");
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ("reply_all".equals(action)) {
|
|
|
|
if ("reply_all".equals(action)) {
|
|
|
|
List<Address> all = new ArrayList<>();
|
|
|
|
List<Address> all = new ArrayList<>();
|
|
|
|