mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-27 20:08:34 +00:00
ComposeContextProfilePickerView.changeProfile called changeActiveUser_ outside both 'updated != null' branches, so when apiChangePreparedContactUser or apiChangePreparedGroupUser returned null the chat stayed on the old profile but the active user was switched anyway - and the post-switch check passed, so no error was shown either. The invitation is then left behind on a profile the user is no longer on. Kotlin only: the iOS twin throws instead of returning null, so its outer catch already skips the switch.