I am trying to remove an ejabberd xmpp user using xmpp4r (ruby library) but I keep getting "not-allowed" error as shown below:
cl.remove_registration
Jabber::ServerError: not-allowed:where cl is a valid xmpp4r client object.
Do I need to add certain directives in ejabberd.yml file to allow this command to work from ruby library? I am currently running ruby client on the same server where ejabberd is installed.
I can remove the user using ejabberdctl unregister command, from command line.
If remove_registration
If remove_registration behaves as specified in the XMPP protocol, then only the corresponding user can remove it.
If it uses some XEP to remove that account, for example then maybe ejabberd doesn't implement what that library wants.