mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-14 08:01:23 +00:00
Reply to sender only
This commit is contained in:
parent
a92d328933
commit
eeee0e61b9
1 changed files with 8 additions and 1 deletions
|
@ -3244,6 +3244,14 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
if (data.message.cc != null)
|
||||
recipients += data.message.cc.length;
|
||||
|
||||
if (recipients == 1 &&
|
||||
data.message.list_post == null &&
|
||||
data.message.receipt_to == null &&
|
||||
(answers == 0 && Helper.isPro(context))) {
|
||||
onMenuReply(data, "reply");
|
||||
return;
|
||||
}
|
||||
|
||||
View anchor = bnvActions.findViewById(R.id.action_reply);
|
||||
PopupMenuLifecycle popupMenu = new PopupMenuLifecycle(context, powner, anchor);
|
||||
popupMenu.inflate(R.menu.menu_reply);
|
||||
|
@ -3277,7 +3285,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
}
|
||||
});
|
||||
popupMenu.show();
|
||||
|
||||
}
|
||||
|
||||
private void onMenuReply(final ActionData data, String action) {
|
||||
|
|
Loading…
Add table
Reference in a new issue