Added read/delivery receipt type selection to identities

This commit is contained in:
M66B
2023-09-02 11:18:10 +02:00
parent 92a08fddb2
commit fa5bc2d313
8 changed files with 3031 additions and 4 deletions

View File

@@ -336,6 +336,9 @@ public class MessageHelper {
boolean encrypt_subject = prefs.getBoolean("encrypt_subject", false);
boolean forward_new = prefs.getBoolean("forward_new", true);
if (identity != null && identity.receipt_type != null)
receipt_type = identity.receipt_type;
Map<String, String> c = new HashMap<>();
c.put("id", message.id == null ? null : Long.toString(message.id));
c.put("encrypt", message.encrypt + "/" + message.ui_encrypt);