diff --git a/composeApp/src/commonMain/kotlin/mobi/giza/compose/database/dao/NostrDao.kt b/composeApp/src/commonMain/kotlin/mobi/giza/compose/database/dao/NostrDao.kt index b18d349a..d91bb47a 100644 --- a/composeApp/src/commonMain/kotlin/mobi/giza/compose/database/dao/NostrDao.kt +++ b/composeApp/src/commonMain/kotlin/mobi/giza/compose/database/dao/NostrDao.kt @@ -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( diff --git a/composeApp/src/commonMain/kotlin/mobi/giza/compose/database/model/ChatMessage.kt b/composeApp/src/commonMain/kotlin/mobi/giza/compose/database/model/ChatMessage.kt index 9eba3761..b2c8c9fe 100644 --- a/composeApp/src/commonMain/kotlin/mobi/giza/compose/database/model/ChatMessage.kt +++ b/composeApp/src/commonMain/kotlin/mobi/giza/compose/database/model/ChatMessage.kt @@ -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"