mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 10:03:51 +02:00
Show receipt requested for outgoing messages
This commit is contained in:
@@ -3978,11 +3978,15 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
}
|
||||
|
||||
private void onReceipt(TupleMessageEx message) {
|
||||
Intent reply = new Intent(context, ActivityCompose.class)
|
||||
.putExtra("action", "dsn")
|
||||
.putExtra("dsn", EntityMessage.DSN_RECEIPT)
|
||||
.putExtra("reference", message.id);
|
||||
context.startActivity(reply);
|
||||
if (EntityFolder.isOutgoing(message.folderType))
|
||||
ToastEx.makeText(context, R.string.title_legend_receipt, Toast.LENGTH_LONG).show();
|
||||
else {
|
||||
Intent reply = new Intent(context, ActivityCompose.class)
|
||||
.putExtra("action", "dsn")
|
||||
.putExtra("dsn", EntityMessage.DSN_RECEIPT)
|
||||
.putExtra("reference", message.id);
|
||||
context.startActivity(reply);
|
||||
}
|
||||
}
|
||||
|
||||
private void onSearchContact(TupleMessageEx message) {
|
||||
|
||||
Reference in New Issue
Block a user