formatting, no major changes

This commit is contained in:
yellows111 2024-03-25 14:11:34 +00:00
parent 1a730fdb64
commit e0e5396bd8
3 changed files with 8 additions and 7 deletions

View File

@ -6,10 +6,11 @@ I wanted to play the old MSN(r) Messenger(tm) Activities online.
## Client compatibility:
Server: whatever node.js version uWS supports
Client: does it ES6?
## TODOs
* Client synchronization should be "less bad and less prone to desynching"
* Add something!
## Desires
* Discover more Activities that aren't Flash-based, and hope they don't use some other foregone extension.

View File

@ -1,4 +1,4 @@
const config = {port: 9091};
const config = {"__proto__": null, port: 9091};
var uidcounter = 0;
Object.freeze(config); // Config should not be modified after initialization!
@ -109,7 +109,7 @@ const MessageParser = function(webSocket, message, isBinary) {
};
if(ChannelStorage.get(getChannelId).fourCC !== args[2]) {
// if the fourCC is not the same as the channel, error as such
webSocket.send(EncodeCommandString(["error", `data is incompatible! (You: ${args[2]}, Remote: ${ChannelStorage.get(getChannelId).fourCC}.`, 256]), true);
webSocket.send(EncodeCommandString(["error", `activity is incompatible! (You: ${args[2]}, Remote: ${ChannelStorage.get(getChannelId).fourCC}).`, 256]), true);
break;
}