Skip to content

Remove is_chatmail and dependency on XCHATMAIL and XDELTAPUSH IMAP capabilities #8448

Description

@hpk42

This issue servers as meta issue, and will/can be edited accordingly.

  • base SMTP recipient chunking on relay IMAP maxsmtprecipients metadata, see use relay's maxsmtprecipients metadata for smtp chunking, to remove another is_chatmail use #8426

  • Make a full scan through android, iOS and desktop code base for is_chatmail usage and determine replacement conditions

  • Push notifications (XDELTAPUSH): Replace can_push() with can_metadata() check and try performing SETMETADATA /private/devicetoken.

    • Open question: What to do with Android's chatmail-conditional "do you want to enable permanent notifications" issue? (link2xt: as far as i understand from the comment below and looking at the code in remove DcAccounts.isAllChatmail() deltachat/deltachat-android#4549, Android simply assumes that if the user has FCM, then there is no need to ask for permanent notification even if some profiles are non-chatmail - that's fine, expert users who configure non-chatmail can also go to settings and enable permanent notification or don't really need instant notifications).
  • Server-side deletion (XCHATMAIL): Collapse deletion logic in src/ephemeral.rs to depend on !bcc_self alone (deleting downloaded messages on single-device setups regardless of server type).

  • Cleanup & Relay config: Remove is_chatmail from initial stats and info strings and whatever is left.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions