mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
Revert "handler/PadMessageHandler: add stub for unimplemented MESSAGE type padoptions"
This reverts commit 9c126674b3
.
This commit is contained in:
parent
f05fc7ba31
commit
9788f89127
1 changed files with 3 additions and 14 deletions
|
@ -186,21 +186,10 @@ exports.handleMessage = function(client, message)
|
||||||
handleChatMessage(client, message);
|
handleChatMessage(client, message);
|
||||||
}
|
}
|
||||||
else if(message.type == "COLLABROOM" &&
|
else if(message.type == "COLLABROOM" &&
|
||||||
message.data.type == "CLIENT_MESSAGE")
|
message.data.type == "CLIENT_MESSAGE" &&
|
||||||
|
message.data.payload.type == "suggestUserName")
|
||||||
{
|
{
|
||||||
if(message.data.payload.type == "suggestUserName")
|
handleSuggestUserName(client, message);
|
||||||
{
|
|
||||||
handleSuggestUserName(client, message);
|
|
||||||
}
|
|
||||||
else if (message.data.payload.type == "padoptions")
|
|
||||||
{
|
|
||||||
messageLogger.info("Handler not implemented for payload type: " + message.data.payload.type);
|
|
||||||
//handlePadOptions
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
messageLogger.warn("Dropped COLLABROOM CLIENT_MESSAGE message, unknown Message Type " + message.type);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
//if the message type is unknown, throw an exception
|
//if the message type is unknown, throw an exception
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue