mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-10 22:59:52 +00:00
CreateProfile hardcoded create-and-activate. Adds an optional onSubmit hook so the same form can create a profile for an invitation, which must not switch the active user until the prepared chat has been reassigned. Optional rather than required, unlike the Kotlin equivalent: it touches no existing call site, which matters more here because this cannot be compiled on the machine the change was written on.