* Refactoring of 'advance' and 'roomJoin' functions (since advance is emitted on room join automatically)