public function onConfigUpdated() { if ($this->xmppclient) { $this->xmppclient->config = $this->config; $this->xmppclient->onConfigUpdated(); } }