Skip to content

Commit 40e63c8

Browse files
committed
TODOs
1 parent 049dde1 commit 40e63c8

File tree

1 file changed

+2
-0
lines changed
  • services/static-webserver/client/source/class/osparc/info

1 file changed

+2
-0
lines changed

services/static-webserver/client/source/class/osparc/info/CommentAdd.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ qx.Class.define("osparc.info.CommentAdd", {
140140
const data = e.getData();
141141
const userGids = data["selectedGids"];
142142
if (userGids && userGids.length) {
143+
// OM: suggest sharing the study first if the user is not a collaborator
143144
const userGid = parseInt(userGids[0]);
144145
if (this.__conversationId) {
145146
this.__postNotify(userGid);
@@ -185,6 +186,7 @@ qx.Class.define("osparc.info.CommentAdd", {
185186
osparc.study.Conversations.notifyUser(this.__studyData["uuid"], this.__conversationId, userGroupId)
186187
.then(data => {
187188
this.fireDataEvent("commentAdded", data);
189+
// OM: add redis notification
188190
});
189191
}
190192
},

0 commit comments

Comments
 (0)