Commit a663276b by Kang Donghun

web-socketから届いたメッセージのmeetingID取得処理追加

parent c9f64f94
......@@ -201,6 +201,10 @@ function setSocketAction () {
type = text[1];
if (type == messageType.COMMUNICATIONSTART || type == messageType.COMMUNICATIONEND) {
collaborationType = text[2];
var meetingId = 0;
if (collaborationType == CHAT_UTIL.getCollaborationType(collaborationTypeKey.DOCUMENT)) {
meetingId = text[3];
}
var userInCollaboration;
if (CHAT_UTIL.isIOS()) {
userInCollaboration = JSON.parse(CHAT_DB.getUserInfoList(message.userId));
......@@ -218,6 +222,7 @@ function setSocketAction () {
insertDate: message.insertDate,
collaborationType: collaborationType,
isToday: true,
meetingId: meetingId,
createdAtDay: messageTime.createdAtDay,
createdAtTime: messageTime.createdAtTime,
isOtherYear: false
......
......@@ -324,9 +324,9 @@ function Coview_exitCollaboration(isDocument = false) {
);
} else {
if (typeof android != "undefined") {
android.openCommunicationHome();
android.openCommunicationHome();
} else {
webkit.messageHandlers.openCommunicationHome.postMessage({});
webkit.messageHandlers.openCommunicationHome.postMessage({});
}
}
}
......
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