[jitsi-dev] Issue Report: Confusing error when trying to register invalid username


#1

What I did:

File -> Add new account
  Network: XMPP
  "Create New XMPP account"
    Server: jit.si
    Username: Firstname Lastname
    Password: ********

What happens on latest nightly:

We failed to create your account due to the following error: No user ID provided"

What a friend of mine using Jitsi 2.2.4603.9615 reported to happen:

We failed to create your account due to the following error: Could not
confirm data.
Unknown XMPP error. Verify that the server name is correct.

What should happen?

It should inform the user that
- the registration failed because of a bad username
- give advice on what characters are allowed
- list the characters that caused the problem (best, but actually optional)