Environment
- ejabberd version: 26.02
- OS: Linux (Debian)
- Installed from: docker container
Errors from error.log/crash.log
No errors
Bug description
When requesting to destroy a hat, followiing XEP-0317, ejabberd returns text-single as the type of the field of the Hat instead of list-single as the XEP suggests. Here is the output from Ejabberd's log:
<iq xml:lang='en'
to='test@dialetheia.xyz/movimhJHyFFAFOGRsjeWs'
from='testing@conference.dialetheia.xyz'
type='result' id='M0SMN9zCweh1'>
<command status='executing'
sessionid='2026-05-19T02:52:15.873605Z'
node='urn:xmpp:hats:commands:destroy'
xmlns='http://jabber.org/protocol/commands'>
<actions execute='complete'><complete/></actions>
<x type='form'
xmlns='jabber:x:data'>
<title>Destroy a Hat</title>
<field var='hat'
type='text-single'
label='Hat URI'>
<required/>
</field>
</x>
</command>
</iq>
Environment
Errors from error.log/crash.log
No errors
Bug description
When requesting to destroy a hat, followiing XEP-0317, ejabberd returns
text-singleas the type of the field of the Hat instead oflist-singleas the XEP suggests. Here is the output from Ejabberd's log: