Commit 75156426 by Kim Peace

Added some more console log

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