Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chat_webview
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abookCommunication
chat_webview
Commits
75156426
Commit
75156426
authored
Aug 06, 2021
by
Kim Peace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some more console log
parent
6fd316f9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
11 deletions
+19
-11
public_new/js/views/chats/chat-room-message.js
+15
-8
public_new/js/views/collaboration/collaboration.js
+1
-2
public_new/js/views/collaboration/share-event-listener.js
+3
-1
No files found.
public_new/js/views/chats/chat-room-message.js
View file @
75156426
...
...
@@ -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
,
...
...
public_new/js/views/collaboration/collaboration.js
View file @
75156426
...
...
@@ -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"
);
...
...
public_new/js/views/collaboration/share-event-listener.js
View file @
75156426
...
...
@@ -209,7 +209,9 @@ CollaborationFeature.didReceiveLoginResponseMessage = async function () {
", isAttendee: "
+
isAttendee
+
", isHost: "
+
isHost
isHost
+
", meetingID: "
+
globalUserInfo
.
meetingID
);
if
(
isDocument
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment