Skip to content

Commit d5dcd77

Browse files
committed
minor
1 parent 86b966e commit d5dcd77

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

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

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,6 @@ qx.Class.define("osparc.support.Conversations", {
4343
CONVERSATION_MESSAGE_UPDATED: "conversation:message:updated",
4444
CONVERSATION_MESSAGE_DELETED: "conversation:message:deleted",
4545
},
46-
47-
popUpInWindow: function(studyData, openConversationId = null) {
48-
const conversations = new osparc.study.Conversations(studyData, openConversationId);
49-
const title = qx.locale.Manager.tr("Conversations");
50-
const viewWidth = 600;
51-
const viewHeight = 700;
52-
const win = osparc.ui.window.Window.popUpInWindow(conversations, title, viewWidth, viewHeight).set({
53-
maxHeight: viewHeight,
54-
});
55-
win.addListener("close", () => {
56-
conversations.destroy();
57-
}, this);
58-
return win;
59-
},
6046
},
6147

6248
members: {
@@ -97,7 +83,7 @@ qx.Class.define("osparc.support.Conversations", {
9783
if (conversation) {
9884
switch (eventName) {
9985
case this.self().CHANNELS.CONVERSATION_CREATED:
100-
if (conversation["projectId"] === this.getStudyData()["uuid"]) {
86+
if (!conversation["projectId"]) {
10187
this.__addConversationPage(conversation);
10288
}
10389
break;

0 commit comments

Comments
 (0)