Commit c2f50a37 by Kim Eunchul Committed by Kim Peace

#43695 ウェブソケットの送信方式変更

parent 38cdba28
...@@ -22,13 +22,9 @@ var handleMessage = function (message, roomName, socketKey) { ...@@ -22,13 +22,9 @@ var handleMessage = function (message, roomName, socketKey) {
return; return;
} }
const messageInfo = unwrappedMessageInfo.split(messageSeperator); const messageInfo = unwrappedMessageInfo;
const messageType = socketKey; const messageType = socketKey;
let messageText = unwrappedMessageInfo; const messageText = unwrappedMessageInfo;
if (unwrappedMessageInfo.includes(messageSeperator)) {
messageText = messageInfo[0];
}
if ( if (
messageType == SOCKET_KEY.NEW_COMMUNICATION messageType == SOCKET_KEY.NEW_COMMUNICATION
......
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