Skip to content

WIP: Broadcast changes to collections and fragments

Alf Eaton requested to merge realtime into master

This calls a "broadcast" method whenever a change is made to a collection or fragment, which will notify all connected clients who are not the same user (in order to notify everyone except the current connected client, the change would have to be coming in via the websocket connection instead of over HTTP/REST).

Depends on pubsweet!33 (merged) which creates the socket and attaches the "io" object to the Express app.

Merge request reports