Revert "Return-Receipt-To is non standard"

This reverts commit f8eec8fe19.
pull/194/merge
M66B 3 years ago
parent f8eec8fe19
commit 716884ef5d

@ -402,6 +402,11 @@ public class MessageHelper {
// 1=Delivery receipt // 1=Delivery receipt
// 2=Read+delivery receipt // 2=Read+delivery receipt
// defacto standard
if (receipt_type == 1 || receipt_type == 2) // Delivery receipt
imessage.addHeader("Return-Receipt-To", to);
// https://tools.ietf.org/html/rfc3798 // https://tools.ietf.org/html/rfc3798
if (receipt_type == 0 || receipt_type == 2) // Read receipt if (receipt_type == 0 || receipt_type == 2) // Read receipt
imessage.addHeader("Disposition-Notification-To", to); imessage.addHeader("Disposition-Notification-To", to);

Loading…
Cancel
Save