We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6391704 commit c22c488Copy full SHA for c22c488
services/static-webserver/client/source/class/osparc/study/Conversations.js
@@ -93,6 +93,23 @@ qx.Class.define("osparc.study.Conversations", {
93
return osparc.data.Resources.fetch("conversations", "addMessage", params)
94
.catch(err => osparc.FlashMessenger.logError(err));
95
},
96
+
97
+ notifyUser: function(studyId, conversationId, userGroupId) {
98
+ const params = {
99
+ url: {
100
+ studyId,
101
+ conversationId,
102
+ },
103
+ data: {
104
+ "content": {
105
+ "userGroupId": userGroupId,
106
107
+ "type": "NOTIFICATION",
108
+ }
109
+ };
110
+ return osparc.data.Resources.fetch("conversations", "addMessage", params)
111
+ .catch(err => osparc.FlashMessenger.logError(err));
112
113
114
115
members: {
0 commit comments