core: remove SimpleX Status preset contact (#7231)

* core: remove SimpleX Status preset contact

Preset contact cards are only created at user record creation
(createPresetContactCards), so this affects new profiles only;
existing profiles keep their stored SimpleX Status contact.

Removing the card shifts contact ids allocated after /create user
down by one, hence the test id updates.

* plans: justify SimpleX Status preset contact removal
This commit is contained in:
Narasimha-sc
2026-07-24 09:05:12 +01:00
committed by GitHub
parent fc28914455
commit dc3c106bda
5 changed files with 79 additions and 54 deletions
-1
View File
@@ -441,7 +441,6 @@ processChatCommand cxt nm = \case
where
createPresetContactCards :: DB.Connection -> User -> ExceptT StoreError IO ()
createPresetContactCards db user = do
createContact db cxt user simplexStatusContactProfile
createContact db cxt user simplexTeamContactProfile
chooseServers :: Maybe User -> CM ([UpdatedUserOperatorServers], (NonEmpty (ServerCfg 'PSMP), NonEmpty (ServerCfg 'PXFTP)))
chooseServers user_ = do
File diff suppressed because one or more lines are too long