Skip to content

Commit f67f3d6

Browse files
committed
clientSessionId
1 parent 1a5e44c commit f67f3d6

File tree

1 file changed

+1
-3
lines changed
  • services/static-webserver/client/source/class/osparc/desktop

1 file changed

+1
-3
lines changed

services/static-webserver/client/source/class/osparc/desktop/StudyEditor.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,7 @@ qx.Class.define("osparc.desktop.StudyEditor", {
333333
if (!socket.slotExists("projectDocument:updated")) {
334334
socket.on("projectDocument:updated", data => {
335335
if (data["projectId"] === this.getStudy().getUuid()) {
336-
337-
// OM replace this by sessionId
338-
if (data["userPrimaryGid"] === osparc.auth.Data.getInstance().getGroupId()) {
336+
if (data["clientSessionId"] && data["clientSessionId"] === osparc.utils.Utils.getClientSessionID()) {
339337
// ignore my own updates
340338
console.debug("Ignoring my own projectDocument:updated event", data);
341339
return;

0 commit comments

Comments
 (0)