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) { private void onReceipt(TupleMessageEx message) {
Intent reply = new Intent(context, ActivityCompose.class) if (EntityFolder.isOutgoing(message.folderType))
.putExtra("action", "dsn") ToastEx.makeText(context, R.string.title_legend_receipt, Toast.LENGTH_LONG).show();
.putExtra("dsn", EntityMessage.DSN_RECEIPT) else {
.putExtra("reference", message.id); Intent reply = new Intent(context, ActivityCompose.class)
context.startActivity(reply); .putExtra("action", "dsn")
.putExtra("dsn", EntityMessage.DSN_RECEIPT)
.putExtra("reference", message.id);
context.startActivity(reply);
}
} }
private void onSearchContact(TupleMessageEx message) { private void onSearchContact(TupleMessageEx message) {

Loading…
Cancel
Save