Files
simplex-chat/apps
Narasimha-sc e85fa9d3cc ui: don't switch profile when the prepared chat failed to move
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.
2026-09-05 11:16:14 +00:00
..