candy-chat / candy

JavaScript-based multi-user chat client for XMPP.
http://candy-chat.github.io/candy
MIT License
1.32k stars 370 forks source link

Feature Request - Leave login optional even when connecting anonymous #472

Open psych0d0g opened 8 years ago

psych0d0g commented 8 years ago

is there a way to make the login more flexible? let the user connect with a unregistered JID and a specified nickname, but retain the option to login with his personal JID credentials and store them in a cookie for next visit

jdc20181 commented 8 years ago

This sounds like a good idea, I may make a PR with this...IDK who is over that stuff tho and see there are 12 in front of me...I wil see what I can do...Do you know code very well?

And the disadvantae with cookies is you would need to ask permisison, and if they are anonymous they will most likely have cookies disabled.