Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 4f4d833

Browse files
authored
Merge pull request #4 from jianjunz/owt
Rename ics-message to owt-message, and add version 4.2.
2 parents 11670f2 + e7a47b0 commit 4f4d833

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

peerserver.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,7 @@ function authorization(socket, next){
7171
var clientVersion=query.clientVersion;
7272
var clientType=query.clientType;
7373
switch(clientVersion){
74-
case '4.0':
75-
case '4.0.1':
76-
case '4.0.2':
77-
case '4.1':
78-
case '4.1.1':
74+
case '4.2':
7975
// socket.user stores session related information.
8076
if(token){
8177
validateUser(token, function(uid){ // Validate user's token successfully.

0 commit comments

Comments
 (0)