Commit 6d18ffaa by Kim Peace

Removed debug console prints

parent 7b2f9c51
......@@ -2,14 +2,6 @@ CHAT_SOCKET.bindOnNewMessage = function () {
// New Message
// #36170
socket.on(SOCKET_KEY.NEW_MESSAGE, function (message, roomID, roomName) {
console.log(
"peacekim:: on SOCKET_KEY.NEW_MESSAGE message: " +
message +
", roomID: " +
roomID +
", roomName: " +
roomName
);
const systemMessageTemplate = getTemplate(TemplateURL.SYSTEM_MESSAGE);
const unwrappedMessageInfo = CHAT_SOCKET.decodeMessage(message.text);
......@@ -68,18 +60,6 @@ CHAT_SOCKET.addCollaborationMessage = function (
insertDate,
createdAt
) {
console.log(
"peacekim:: CHAT_SOCKET.addCollaborationMessage messageInfo: " +
messageInfo +
", userId: " +
userID +
", roomName: " +
roomName +
", insertDate: " +
insertDate +
", createdAt: " +
createdAt
);
const collaborationType = CHAT_UTIL.getCollaborationType(messageInfo[2]);
const meetingID = CHAT_SOCKET.getMeetingID(collaborationType, messageInfo);
const userInCollaboration = JSON.parse(
......@@ -108,12 +88,6 @@ CHAT_SOCKET.addCollaborationMessage = function (
};
CHAT_SOCKET.getMeetingID = function (collaborationType, messageInfo) {
console.log(
"peacekim:: CHAT_SOCKET.getMeetingID collaborationType: " +
collaborationType +
", messageInfo: " +
messageInfo
);
if (collaborationType == COLLABORATION_TYPE.DOCUMENT) {
return messageInfo[3];
} else {
......@@ -130,20 +104,6 @@ CHAT_SOCKET.renderCollaborationMessage = function (
meetingID,
createdAt
) {
console.log(
"peacekim:: CHAT_SOCKET.renderCollaborationMessage roomName: " +
roomName +
", userList: " +
userList +
", insertDate: " +
insertDate +
", collaborationType: " +
collaborationType +
", meetingID: " +
meetingID +
", createdAt: " +
createdAt
);
let messageTime = CHAT_UTIL.formatDate(createdAt);
return Mustache.render(template, {
roomName: roomName,
......@@ -161,7 +121,6 @@ CHAT_SOCKET.renderCollaborationMessage = function (
};
CHAT_SOCKET.addTextMessage = function (messageText, message, socketID) {
console.log("peacekim:: CHAT_SOCKET.addTextMessage messageText: " + messageText + ", message: " + message + ", socketID: " + socketID);
const messageTextWithSID = CHAT_SOCKET.insertSID(messageText);
const messageSender = JSON.parse(
NativeBridgeDataSource.getUserInfoList(message.userId)
......@@ -215,7 +174,6 @@ CHAT_SOCKET.getUserInfoList = function (userID) {
};
CHAT_SOCKET.cleanUpCollaborationMessage = function () {
console.log("peacekim:: CHAT_SOCKET.cleanUpCollaborationMessage");
$(".collabo_area.start").each(function (index, collaborationMessage) {
$(collaborationMessage).removeClass("start");
$(collaborationMessage).addClass("end");
......@@ -230,7 +188,6 @@ CHAT_SOCKET.cleanUpCollaborationMessage = function () {
};
CHAT_SOCKET.insertSID = function (text) {
console.log("peacekim:: CHAT_SOCKET.insertSID text: " + text);
let replacePath = text;
replacePath = replacePath.replaceAll(
"?fileName=",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment