Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: generate 144-bit group IDs #5986

Merged
merged 1 commit into from
Sep 20, 2024
Merged

feat: generate 144-bit group IDs #5986

merged 1 commit into from
Sep 20, 2024

Commits on Sep 20, 2024

  1. feat: generate 144-bit group IDs

    Instead of generating 72 random bits
    and reducing them to 66 bits of Base64 characters,
    generate 144 bits (18 bytes)
    which is exactly 24 Base64 characters.
    
    This should still be accepted by existing
    Delta Chat clients which expect group ID
    to be between 11 and 32 characters.
    
    Message-ID creation is also simplified
    to not have `Mr.` prefix
    and dot in between two IDs.
    Now it is a single ID followed by `@localhost`.
    
    Some outdated documentation comments
    are removed, e.g. group messages
    don't start with `Gr.` already.
    link2xt committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    8357662 View commit details
    Browse the repository at this point in the history