Made the user broadcast their joining or leaving the chatroom.