Sessions can't be started if a callback block backend.initialised
A couple of issues have block the login of account on libervia.org demo.
There a 3 issues:
- the main issue is located in memory.memory : in startSession, backendInitialised is added as a callback to host.initialised Deferred. But backendInitialised never return (always return callbacks), initialised callback queue is blocked, blocking at the same moment all profiles.
- an other issue is that SatXMPPClient do infinite retries if an account is not working. Should be restricted to 3 or less
- finally, the domain is not checked on asyncConnectWithXMPPCredentials, making it possible to use local domain. This is a minor issue as it should work this way, but it would be nicer to remove the domain part in this case.