Process identities per account

This commit is contained in:
M66B
2019-10-02 13:10:39 +02:00
parent fa47d2e23a
commit c380f7f683
3 changed files with 13 additions and 9 deletions

View File

@@ -2088,7 +2088,7 @@ public class FragmentCompose extends FragmentBase {
data.draft.to = ref.receipt_to;
else {
// Prevent replying to self
if (ref.replySelf(data.identities)) {
if (ref.replySelf(data.identities, ref.account)) {
data.draft.from = ref.from;
data.draft.to = ref.to;
} else {
@@ -2098,7 +2098,7 @@ public class FragmentCompose extends FragmentBase {
}
if ("reply_all".equals(action))
data.draft.cc = ref.getAllRecipients(data.identities);
data.draft.cc = ref.getAllRecipients(data.identities, ref.account);
else if ("receipt".equals(action)) {
data.draft.receipt = true;
data.draft.receipt_request = false;