Fix chat room leave behavior.