Revert "Fixed reply to self"

This reverts commit 98a058775b.
This commit is contained in:
M66B
2020-07-22 07:24:06 +02:00
parent cb147b960e
commit 0fbdc56769
3 changed files with 24 additions and 30 deletions

View File

@@ -2193,8 +2193,10 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
if (data.identities == null)
data.identities = new ArrayList<>();
List<Address> others = message.replyOthers(data.identities, message.account);
final Address[] to = (others.size() == 0 ? message.to : others.toArray(new Address[0]));
final Address[] to =
message.replySelf(data.identities, message.account)
? message.to
: (message.reply == null || message.reply.length == 0 ? message.from : message.reply);
Address[] recipients = message.getAllRecipients(data.identities, message.account);