final public function prepare($stanza, $parent = false)
    {
        if($parent === false) {
            $this->packet->from = current(explode('/',(string)$stanza->attributes()->from));
        } else {
            $this->packet->from = current(explode('/',(string)$parent->attributes()->from));
        }
    }