Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

removed the restriction on the @ in the user field of the JID #287

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kkroo
Copy link

@kkroo kkroo commented Apr 16, 2014

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 protected] where the JID user is [email protected] 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant