fritzy/SleekXMPP — pull request #287 by kkroo (2014-04-16 08:31:38+00:00)
Title: removed the restriction on the @ in the user field of the JID

Facebook's XMPP server is non-standard, but if you want to use PLAIN auth with their servers and log in with your FB email address your JID becomes user@email.com@chat.facebook.com where the JID user is user@email.com and the domain is chat.facebook.com. Removing this restriction allows you to use SleekXMPP with FB in this manner for auth. Needed it for a project, and thought others might run into this issue as well. This restriction catches auth errors on the client before going to the server, but it limits this API's ability to interface with services that use this type of auth. My recommendation is leave the error checking for this particular case to the server and enable compatibility with more services.