mirror of https://github.com/M66B/FairEmail.git
Set draft thread ID
This commit is contained in:
parent
a0fe264ae7
commit
3c7c3df8d2
|
@ -854,6 +854,8 @@ public class FragmentCompose extends FragmentEx {
|
||||||
draft.msgid = EntityMessage.generateMessageId();
|
draft.msgid = EntityMessage.generateMessageId();
|
||||||
|
|
||||||
if (ref == null) {
|
if (ref == null) {
|
||||||
|
draft.thread = draft.msgid;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
String to = args.getString("to");
|
String to = args.getString("to");
|
||||||
draft.to = (TextUtils.isEmpty(to) ? null : InternetAddress.parse(to));
|
draft.to = (TextUtils.isEmpty(to) ? null : InternetAddress.parse(to));
|
||||||
|
@ -884,7 +886,6 @@ public class FragmentCompose extends FragmentEx {
|
||||||
|
|
||||||
if (pro && !TextUtils.isEmpty(account.signature))
|
if (pro && !TextUtils.isEmpty(account.signature))
|
||||||
body += account.signature;
|
body += account.signature;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
draft.thread = ref.thread;
|
draft.thread = ref.thread;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue