Create JID on onboarding.cheogram.com first, then use that for cheogram.com setup, then create a JID and use jid switch at the end.
Question: what if the backend doesn’t support jid switch?
Create JID on onboarding.cheogram.com first, then use that for cheogram.com setup, then create a JID and use jid switch at the end.
Question: what if the backend doesn’t support jid switch?
It selected backend doesn’t support jid switch then render canceled with XMPP URI OOB (#232) for IBR to favourite server.
Hmm, how do we know what JID to switch to? We don’t by the end of the ad-hoc flow actually, so will need to store a flag that means “do jid switch when next new account is created” or something. Or just do it by detecting that there are only two accounts and one is onboarding.cheogram.com ?
Polish stuff:
Close takes you to an infinite spinner (command list) should take you to conversation list or at least force actually getting the command list.
How to handle cancel button during registration? Current it acts like “no thanks” and boots you out of JMP flow entirely. Maybe that’s correct? Probably just hide cancel button…
This is ready now pending final testing after https://github.com/snikket-im/snikket-web-portal/pull/144 goes out and then we can get other people to test it.