mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-07 20:55:35 +00:00
CreateActiveUser gains keepActiveUser. Creating a user activates it, and APIChangePreparedContactUser resolves the chat under the active user, so create-then-reassign cannot find the chat the invitation is for. With the flag the sequence has nothing to undo: create, reassign while the old profile still owns it, switch once. BoolDef makes the field default to False, so older clients and both CLI parsers are unaffected. It is ignored when there is no active user to keep, which would otherwise leave none at all. Includes the regenerated NewUser type in the three generated client artifacts, and the two hand-synced clients that build a NewUser literal.