Merge branch 'master' of github.com:M66B/FairEmail

pull/208/head
M66B 3 years ago
commit 7e12919862

@ -3150,8 +3150,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
if (context == null) if (context == null)
return; return;
final Address[] to = boolean replySelf = message.replySelf(data.identities, message.account);
message.replySelf(data.identities, message.account) final Address[] to = replySelf
? message.to ? message.to
: (message.reply == null || message.reply.length == 0 ? message.from : message.reply); : (message.reply == null || message.reply.length == 0 ? message.from : message.reply);
@ -3199,7 +3199,10 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
popupMenu.getMenu().findItem(R.id.menu_resend).setEnabled(canResend); popupMenu.getMenu().findItem(R.id.menu_resend).setEnabled(canResend);
popupMenu.getMenu().findItem(R.id.menu_reply_answer).setVisible(answers != 0 || !ActivityBilling.isPro(context)); popupMenu.getMenu().findItem(R.id.menu_reply_answer).setVisible(answers != 0 || !ActivityBilling.isPro(context));
popupMenu.getMenu().findItem(R.id.menu_reply_to_sender).setEnabled(message.content); popupMenu.getMenu().findItem(R.id.menu_reply_to_sender)
.setTitle(getString(replySelf ? R.string.title_reply_to_recipient : R.string.title_reply_to_sender))
.setEnabled(message.content);
popupMenu.getMenu().findItem(R.id.menu_reply_to_all).setEnabled(message.content); popupMenu.getMenu().findItem(R.id.menu_reply_to_all).setEnabled(message.content);
popupMenu.getMenu().findItem(R.id.menu_forward).setEnabled(message.content); popupMenu.getMenu().findItem(R.id.menu_forward).setEnabled(message.content);
popupMenu.getMenu().findItem(R.id.menu_forward_raw) popupMenu.getMenu().findItem(R.id.menu_forward_raw)

@ -1246,6 +1246,7 @@
<string name="title_archive">Archive</string> <string name="title_archive">Archive</string>
<string name="title_reply">Reply</string> <string name="title_reply">Reply</string>
<string name="title_reply_to_sender">Reply to sender</string> <string name="title_reply_to_sender">Reply to sender</string>
<string name="title_reply_to_recipient">Reply to recipient</string>
<string name="title_reply_to_all">Reply to all</string> <string name="title_reply_to_all">Reply to all</string>
<string name="title_reply_list">Reply to list</string> <string name="title_reply_list">Reply to list</string>
<string name="title_reply_receipt">Send read receipt</string> <string name="title_reply_receipt">Send read receipt</string>

Loading…
Cancel
Save