mojotech / modernator-haskell

An API server for hosting Reddit AMA style Q&A sessions.
GNU General Public License v3.0
4 stars 0 forks source link

Allow authenticated clients to re-join a session. #18

Closed RocketPuppy closed 7 years ago

RocketPuppy commented 7 years ago

If a client authenticates for a session, allow them to re-join that session. This probably shouldn't be the same /sessions/join route, because it should work for both Questioners and Answerers.

RocketPuppy commented 7 years ago

Handled in https://github.com/mojotech/modernator-haskell/commit/f170da2ac3ab00d3a097a36afc4705f3e7ee645f. This was also kind-of already done. Since an authed user will already have the cookies, they can just request the session state. The new route is really just for the convenience of clients so they have access to who they are authed as. They don't normally have access to that info since the cookies are encrypted.