• Sheetal Umesh Kumar's avatar
    Get the list of groups from the new endpoint and update it wherever applicable. · 36c46608
    Sheetal Umesh Kumar authored
    Fetch the list of groups from the new `/api/groups` endpoint instead of
    using the groups list returned in the `/api/profile` result. This
    supports providing the current document URI as a parameter, which
    enables the server to change the list of open groups returned depending
    on the current URL.
    
    In order to update the groups list correctly, taking into account the
    current document URI, when the user joins or leaves a group, the
    `streamer` service now handles "session change" notifications by
    triggering a re-fetch of groups from the `/api/groups` endpoint instead
    of updating the groups directly from the payload of the WebSocket
    message.
    Co-authored-by: 's avatarRobert Knight <robertknight@gmail.com>
    36c46608
Name
Last commit
Last update
.github Loading commit data...
docs Loading commit data...
images Loading commit data...
scripts Loading commit data...
src Loading commit data...
.babelrc Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
CODE_OF_CONDUCT Loading commit data...
Jenkinsfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
gulpfile.js Loading commit data...
package.json Loading commit data...
requirements-dev.in Loading commit data...
yarn.lock Loading commit data...