File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -788,7 +788,7 @@ if (["Android", "iOS"].some(v => window.navigator.userAgent.includes(v))) {
788788 if  ( eventData . user . role  ===  - 1  &&  ! / [ ? & ] g u e s t = t r u e / . test ( window . location . search ) ) 
789789 return  document . location . href  =  "/login/" ; 
790790
791-  if  ( details . mode  ===  Room . Type . ELIMINATION ) 
791+  if  ( modeToString ( details . mode ) . toLowerCase ( )  ===  Room . Type . ELIMINATION ) 
792792 room  =  new  EliminationRoom ( ) ; 
793793 else  room  =  new  Room ( ) ; 
794794
@@ -832,7 +832,7 @@ if (["Android", "iOS"].some(v => window.navigator.userAgent.includes(v))) {
832832 room . blobs . push ( newBlob ) ; 
833833 } 
834834
835-  if  ( details . mode   ===   Room . Type . ELIMINATION   &&   room  instanceof  EliminationRoom )  { 
835+  if  ( room  instanceof  EliminationRoom )  { 
836836 room . state  =  eventData . state ; 
837837 room . createdAt  =  eventData . roomCreatedAt ; 
838838 EliminationRoom . waitingTime  =  eventData . waitingTime ; 
                         You can’t perform that action at this time. 
           
                  
0 commit comments