I am trying to make a socket join a room from inside a .then() but it\'s not working. I know everything else is correct in the code because after moving the s
.then()
s