Skip to content

Commit efede3c

Browse files
committed
book a call, deprecated
1 parent 2510fb0 commit efede3c

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

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

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -201,31 +201,5 @@ qx.Class.define("osparc.support.SupportCenter", {
201201
conversationPage.proposeConversation(type);
202202
this.__showConversation();
203203
},
204-
205-
// OM remove this
206-
createConversationBookCall: function() {
207-
const conversationPage = this.getChildControl("conversation-page");
208-
conversationPage.setConversation(null);
209-
this.__showConversation();
210-
conversationPage.postMessage(osparc.support.SupportCenter.REQUEST_CALL_MESSAGE)
211-
.then(data => {
212-
const conversationId = data["conversationId"];
213-
osparc.store.ConversationsSupport.getInstance().getConversation(conversationId)
214-
.then(conversation => {
215-
// update conversation name and patch extra_context
216-
conversation.renameConversation("Book a call");
217-
conversation.patchExtraContext({
218-
...conversation.getExtraContext(),
219-
"appointment": "requested"
220-
});
221-
// This should be an automatic response in the chat
222-
const msg = this.tr("Your request has been sent.<br>Our support team will get back to you.");
223-
osparc.FlashMessenger.logAs(msg, "INFO");
224-
});
225-
})
226-
.catch(err => {
227-
console.error("Error sending request call message", err);
228-
});
229-
},
230204
}
231205
});

0 commit comments

Comments
 (0)