Skip to content

Commit 259afe0

Browse files
committed
not needed
1 parent c2ab84c commit 259afe0

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

services/static-webserver/client/source/class/osparc/study/Conversation.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,7 @@ qx.Class.define("osparc.study.Conversation", {
232232

233233
__postMessage: function(content) {
234234
const conversationId = this.getConversation().getConversationId();
235-
osparc.store.ConversationsProject.getInstance().postMessage(this.__studyData["uuid"], conversationId, content)
236-
.then(data => {
237-
this.fireDataEvent("messageAdded", data);
238-
return data;
239-
});
235+
osparc.store.ConversationsProject.getInstance().postMessage(this.__studyData["uuid"], conversationId, content);
240236
},
241237

242238
__postNotify: function(userGid) {

services/static-webserver/client/source/class/osparc/support/Conversation.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,7 @@ qx.Class.define("osparc.support.Conversation", {
174174

175175
__postMessage: function(content) {
176176
const conversationId = this.getConversation().getConversationId();
177-
return osparc.store.ConversationsSupport.getInstance().postMessage(conversationId, content)
178-
.then(data => {
179-
this.fireDataEvent("messageAdded", data);
180-
return data;
181-
});
177+
return osparc.store.ConversationsSupport.getInstance().postMessage(conversationId, content);
182178
},
183179

184180
__applyConversation: function(conversation) {

0 commit comments

Comments
 (0)