Commit 2386e61d by Kim Eunchul

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

parent c7044442
...@@ -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