feat: the Welcome stops announcing missing founding admins (remove-founding-admins-card, Phase 3)

The line ended "An admin can add them back from the room's details", and
nothing there does that any more. TYPE_FOUNDING_ADMINS_MISSING stays in
MEMBERSHIP_TYPES, retired, so the rows already written still render as
captions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-11-20 10:40:12 +02:00
1 parent b04f3047e6
commit b5c1d9ebf3
2 files changed
+8 -15

No files matched your search

@@ -67,7 +67,6 @@ import mobi.giza.compose.exceptions.MarmotMissingNostrGroupDataExtension
import mobi.giza.compose.exceptions.MarmotNotMemberOfChatGroupException
import mobi.giza.compose.extensions.toHex
import mobi.giza.compose.managers.AdminFlags
import mobi.giza.compose.managers.FoundingAdmins
import mobi.giza.compose.managers.ChillDkgRitualManager
import mobi.giza.compose.managers.ShareRefreshManager
import mobi.giza.compose.managers.ShareRepairManager
@@ -980,17 +979,6 @@ abstract class NostrDao(
chatRoomId = nostrGroupId
)
// And with the state on file, whether the room
// names every member of that ceremony as an
// admin -- this device's own record against the
// creator's list. docs/robust-group-admins.md,
// Phase 3.
FoundingAdmins.announceIfMissing(
database = database,
chatRoomId = nostrGroupId,
userPublicKey = userPublicKey,
)
// Where is the decoded welcome message...
// TODO: Sync GroupEvents/Messages...
// database.chatMessageDao().upsert(
@@ -601,10 +601,15 @@ data class ChatMessage(
const val TYPE_CHANGE_REJECTED = "changeRejected"
/**
* The admin room this device was welcomed into does not name every member
* The admin room this device was welcomed into did not name every member
* of the ceremony that made its key as an admin. Derived at the Welcome
* from this device's own record of the ceremony, never received, and
* written once. docs/robust-group-admins.md, Phase 3.
* from this device's own record of the ceremony, never received.
* docs/robust-group-admins.md, Phase 3.
*
* Retired: no longer written (docs/remove-founding-admins-card.md, D3).
* Kept, and kept in [MEMBERSHIP_TYPES], because rows written before are
* still on devices, as the user's own, and out of the set each would
* render as a bubble from the user.
*/
const val TYPE_FOUNDING_ADMINS_MISSING = "foundingAdminsMissing"