Argument for nickname api command is incorrect in the documentation. the "serverhost" argument name should show "host"
@badlop we probably need to check consistency of use of host / serverhost.
Maybe we need alias to be backward compliant ?
There are two topics here.
First, the argument consistency for those commands was fixed in January in https://github.com/processone/ejabberd/commit/9577fe3ba8b00797816cc1243a8e22ed59096d86 but as @smpgallagher noticed, the online documentation in https://docs.ejabberd.im/developer/ejabberd-api/admin-api/#muc-register-nick is not yet updated. I think @cromain updates that page from time to time.
Second, there may still be some commands using as arguments "server" or "serverhost" instead of "host". I'll look into this tomorrow morning.
There are still eight commands that use "server" argument instead of "host":
I'm checking if it's possible to provide backwards compatibility once changed.
The online documentation will be updated with the next ejabberd release. In the meantime, it is always possible to check the available commands and their arguments running the command line "ejabberdctl help"
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.