Implemented the ability to link a user into a room
author B Tasker
()
committer B Tasker
()
commit bdec4c006f4eab59a34fbac5c413044f3a5a41e0
tree 3e52acfc399132f99b52c3b4a4da421861efa1ac
parent aa1b82a812cd509baf5067054d4c480930144411
Implemented the ability to link a user into a room

Means you can essentially do the following

curl -v -X POST http://127.0.0.1:8090/ -H "Content-Type: application/json" --data '{"action":"createRoom","payload":"{\"roomName\":\"BenTest\",\"owner\":\"ben\",\"passhash\":\"abcdefg\"}"}'
curl -v -X POST http://127.0.0.1:8090/ -H "Content-Type: application/json" --data '{"action":"inviteUser","payload":"{\"roomName\":\"BenTest\",\"user\":\"ben2\"}"}'

Which would allow user "ben2" to enter the room "BenTest"

What is missing, at the moment, is automatically linking the owner into the room at creation time. Will add that next
server/LocalChat.py