Commit 75156426 by Kim Peace

Added some more console log

parent 6fd316f9
......@@ -263,14 +263,6 @@ ChatRoom.renderMessage = function (message, isToday, isOtherYear) {
};
ChatRoom.renderCollaborationMessage = function (message, isToday, isOtherYear) {
console.log(
"peacekim:: ChatRoom.renderCollaborationMessage message: " +
message +
" isToday: " +
isToday +
" isOtherYear: " +
isOtherYear
);
const collaborationInfo = JSON.parse(message.message);
const userInCollaboration = JSON.parse(
NativeBridgeDataSource.getUserInfoList(collaborationInfo.userList)
......@@ -290,6 +282,21 @@ ChatRoom.renderCollaborationMessage = function (message, isToday, isOtherYear) {
? getLocalizedString("message_ended")
: getLocalizedString("message_join");
console.log(
"peacekim:: ChatRoom.renderCollaborationMessage message: " +
message +
" isToday: " +
isToday +
" isOtherYear: " +
isOtherYear +
", meetingID: " +
meetingID +
", strCollaborationType: " +
strCollaborationType +
", collaborationJoinMessage: " +
collaborationJoinMessage
);
const html = Mustache.render(collaborationMessageTemplate, {
messageId: message.messageId,
roomName: roomName,
......
......@@ -207,8 +207,7 @@ CollaborationUI.displayAddUserButtonIfNeeded = function () {
console.log(
"peacekim:: CollaborationUI.displayAddUserButtonIfNeeded" +
", roomInfo.roomType == ChatRoomType.DM: " +
roomInfo.roomType ==
ChatRoomType.DM
(roomInfo.roomType == ChatRoomType.DM)
);
if (roomInfo.roomType == ChatRoomType.DM) {
$(".add_user_btn").removeClass("none");
......
......@@ -209,7 +209,9 @@ CollaborationFeature.didReceiveLoginResponseMessage = async function () {
", isAttendee: " +
isAttendee +
", isHost: " +
isHost
isHost +
", meetingID: " +
globalUserInfo.meetingID
);
if (isDocument) {
......
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