mod_disco not returning any item names

Request:
<body xmlns='http://jabber.org/protocol/httpbind' rid='3229474560' sid='bd2033875a8f4fb873dc843b0f27deea5cbf8fa9'>
<presence xmlns='jabber:client'/>
<iq xmlns='jabber:client' to='lts02112' type='get'>
<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>
</body>

Response:
<body xmlns='http://jabber.org/protocol/httpbind'>
<presence xmlns='jabber:client' from='sparkuser2@lts02112' to='ixeldog@lts02112' type='subscribe'>
<status/>
</presence>
<presence xmlns='jabber:client' from='ixeldog@lts02112/Candy' to='ixeldog@lts02112/Candy'/>
<iq xmlns='jabber:client' from='lts02112' to='ixeldog@lts02112/Candy' type='result'>
<query xmlns='http://jabber.org/protocol/disco#items'>
<item jid='conference.lts02112'/>
<item jid='pubsub.lts02112'/>
<item jid='vjud.lts02112'/>
</query>
</iq>
</body>

Above is my disco request and response. The items returned do not have any names and are therefore not very helpful.
Could someone please enlighten me as to how I can add names to the items:
<item jid='conference.lts02112' name='Public Chatrooms' />
Many thanks.

This is due to performance

This is due to performance reasons, the name is not stored with the JID. The trick used by most clients is to request additional information about each JID, in that case ejabberd provides the name and also other details, like features.

Syndicate content