Show receipt requested for outgoing messages

pull/194/merge
M66B 3 years ago
parent e670335429
commit 5af0ac7a54

@ -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) {

Loading…
Cancel
Save