We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26254fc commit b9e5511Copy full SHA for b9e5511
client.js
@@ -181,9 +181,7 @@ p.getRoomData = function() {
181
182
p.setIsInitialized = function() {
183
184
- // added in /# because it seems that socket.io-client adds /# to the id
185
- // where on the backend socket.id does not have /#
186
- var room = this.getRoom().setVar( 'pv_init/#' + this.io.id, true );
+ var room = this.getRoom().setVar( 'pv_init' + this.io.id, true );
187
};
188
189
p.play = function() {
@@ -269,7 +267,7 @@ function checkAllInitialized() {
269
267
270
268
users.forEach( function( user ) {
271
272
- isAllInited = Boolean(data[ 'pv_init/#' + user ]) && isAllInited;
+ isAllInited = Boolean(data[ 'pv_init' + user ]) && isAllInited;
273
});
274
275
if( this.isAllInitialized !== isAllInited ) {
0 commit comments