Browse Source

need to pull

Michelle Bu 12 years ago
parent
commit
69e791bfa6
1 changed files with 4 additions and 1 deletions
  1. 4 1
      lib/peer.js

+ 4 - 1
lib/peer.js

@@ -120,12 +120,15 @@ Peer.prototype._handleServerJSONMessage = function(message) {
         connection.handleLeave();
       }
       break;
+    case 'INVALID-KEY':
+      util.log('Invalid key');
+      break;
     case 'PORT':
       //if (util.browserisms === 'Firefox') {
       //  connection.handlePort(message);
       //  break;
       //}
-    case 'DEFAULT':
+    default:
       util.log('Unrecognized message type:', message.type);
       break;
   }