fix the chatroom example in bash branch