You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.
Hello. I need to add a user to group programatically. Now I am register a user programatically but the group is "None".
`<?php
namespace Fabiang\Xmpp\Protocol;
use Fabiang\Xmpp\Util\XML;
/**
Register new user
@param string $username
@param string $password
@param string $email
@Package XMPP\Protocol
@category XMPP
*/
class RegisterUserER implements ProtocolImplementationInterface
{
protected $username;
protected $password;
protected $email;
/**
*/
public function __construct($username, $password, $email)
{
$this->username = $username;
$this->password = $password;
$this->email = $email;
}
/**
*/
public function toString()
{
$query = "%s%s%s";
return XML::quoteMessage($query, XML::generateId(), (string) $this->username, (string) $this->password, (string) $this->email);
}
}
`
The text was updated successfully, but these errors were encountered: