group admin#438
Merged
Merged
Conversation
experintellia
pushed a commit
to experintellia/slothfulchat-web
that referenced
this pull request
Jul 26, 2026
Rebased onto main (0.8.0). Port of ArcaneChat's group-admin feature (ArcaneChat/core#438, ArcaneChat/android#167): Core (core/0020): an admin group's ID embeds the creator's key fingerprint (FINGERPRINT:RANDOMID). Send- and receive-side enforcement that only the admin adds/removes members, renames, changes description/avatar/ephemeral timer, and deletes others' messages for everyone; non-admin member *removals* (self-leave) stay allowed. Invite QR carries the admin fingerprint; non-admin securejoin adds abort. New JSON-RPC create_group_with_admin + FullChat.groupAdminId. Receive-side delete guard is stricter than ArcaneChat's (which let any member of a *regular* group delete others' messages). Tests cover the permission matrix, self-leave, and a modified-client member-injection attempt. Desktop (desktop/0064): create-dialog checkbox, admin-only management UI (Add Member / QR / remove / Edit / Disappearing Messages), a 👑 badge on the admin's row visible to every member, and Delete-for-Everyone for the admin. Creation is gated behind a hidden 'super-dangerous' experimental option, unlocked by tapping the version in About 10x (Android developer-menu style, with a countdown toast) and re-hidable via a button that is disabled while any super-dangerous option is on. Usage-stats instances emit an admin_group event (create / setting_enabled). Fork-to-fork only: plain Delta Chat clients reject the oversized group ID and see only a plain thread. update-patches.sh pins core.abbrev=9 for byte-stable patch regeneration. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012EbNmAmU8BhtPuTmBmsMTX
experintellia
pushed a commit
to experintellia/slothfulchat-web
that referenced
this pull request
Jul 26, 2026
Rebased onto main (0.8.0). Port of ArcaneChat's group-admin feature (ArcaneChat/core#438, ArcaneChat/android#167): Core (core/0020): an admin group's ID embeds the creator's key fingerprint (FINGERPRINT:RANDOMID). Send- and receive-side enforcement that only the admin adds/removes members, renames, changes description/avatar/ephemeral timer, and deletes others' messages for everyone; non-admin member *removals* (self-leave) stay allowed. Invite QR carries the admin fingerprint; non-admin securejoin adds abort. New JSON-RPC create_group_with_admin + FullChat.groupAdminId. Receive-side delete guard is stricter than ArcaneChat's (which let any member of a *regular* group delete others' messages). Tests cover the permission matrix, self-leave, and a modified-client member-injection attempt. Desktop (desktop/0064): create-dialog checkbox, admin-only management UI (Add Member / QR / remove / Edit / Disappearing Messages), a 👑 badge on the admin's row visible to every member, and Delete-for-Everyone for the admin. Creation is gated behind a hidden 'super-dangerous' experimental option, unlocked by tapping the version in About 10x (Android developer-menu style, with a countdown toast) and re-hidable via a button that is disabled while any super-dangerous option is on. Usage-stats instances emit an admin_group event (create / setting_enabled). Fork-to-fork only: plain Delta Chat clients reject the oversized group ID and see only a plain thread. update-patches.sh pins core.abbrev=9 for byte-stable patch regeneration. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012EbNmAmU8BhtPuTmBmsMTX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.