public function reply($str)
    {
        $message = new \sb\XMPP\Message();
        $message->setTo($this->getFrom());
        $message->setFrom($this->getTo());
        $message->setBody($str);
        $this->client->sendMessage($message);
    }