diff options
| author | Christian Cleberg <[email protected]> | 2026-07-15 23:58:26 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-07-15 23:58:26 -0500 |
| commit | 59622556deb4de7843faa493c8d5a6ef66591d91 (patch) | |
| tree | 64b02fb7c7faa354489e774e92f19ef0e7774f7a /Hutch/Views/Repositories/RepositoryRowView.swift | |
| parent | f3627deef0848b95a083d9e16468b0f8484d784e (diff) | |
| download | hutch-59622556deb4de7843faa493c8d5a6ef66591d91.tar.gz hutch-59622556deb4de7843faa493c8d5a6ef66591d91.tar.bz2 hutch-59622556deb4de7843faa493c8d5a6ef66591d91.zip | |
feat: create, edit, and delete mailing lists
createMailingList, updateMailingList, and deleteMailingList existed in the API
but were never called, so lists could only be read.
Editing needed a read first. InboxMailingListReference carries only
id/rid/name/owner, so a settings sheet seeded from it would have offered an
empty description and Public visibility, and saving would have blanked the real
description and quietly changed who can see the list. The sheet now reads the
current values and refuses to save until it has them.
Clearing a description sends an explicit null via updateValue rather than a nil
subscript assignment, which would drop the key and leave the old text in place.
permitMime and rejectMime are left untouched rather than sent empty, which would
wipe the list's mime filters.
Edit and delete are gated on ownership: the subscriptions query that builds this
view returns lists the user follows, which is not the same as lists they own.
Non-owners keep the unsubscribe action instead. Deleting destroys the archive
for everyone, so the confirmation says exactly that.
Diffstat (limited to 'Hutch/Views/Repositories/RepositoryRowView.swift')
0 files changed, 0 insertions, 0 deletions
