candy-chat/candy — pull request #97 by bobek (2012-05-02 15:23:20+00:00)
Title: Allow to pass room password via autojoin

My use case is that I'll use
- one user for all users coming to service
- autojoin to join the desired chat room

So I want to have some additional level of protection, when the user credentials are virtually shared. So every room will be protected with different password. This commit adds support for specifying password when passing array to autojoin in format:

jid:password

for example:

test@conference.im.example.org:password

Following the common URL schema, the format should be e.g. test:password@conference.im.example.org ; but the one proposed seemed a bit cleaner to the user. What do you think?