Discovering Pubsub Node Metadata in Tigase

Hamid Alimohammadi
Added about 3 years ago


Our client development team are examining the Pubsub in a Tigase-b3821 test server.

They created a test Node h1_pubsub_node

<iq type='set'
  <pubsub xmlns=''>
    <create node='h1_pubsub_node'/>

And the following response was received from the server:

<iq from="" type="result" id="create1" to="">
<text>Created in 131 ms</text>

In order to "Discover Node Metadata", the following Stanza is sent to the server:

<iq type='get'
  <query xmlns=''

The Server responds with the following information:

<iq from="" type="result" id="meta1" to="">
<query xmlns="">
<identity category="pubsub" type="leaf"/>
<feature var=""/>
<x xmlns="jabber:x:data" type="result">
<field type="hidden" var="FORM_TYPE">
<field type="text-single" label="A short name for the node" var="pubsub#title">

Actually they expect to receive more information from the server similar to

But some information like "creator" are missed.

Do you know why some fields are missing?

I appreciate for any hint.

Replies (4)


Added by Andrzej Wójcik IoT 1 CloudTigaseTeam about 3 years ago

XEP-0060 which describes PubSub protocol states that service discovery may include detailed meta data of a node.

So if there would be no meta data at all it also would be correct, however XEP-0060 also states that discovery should include full configuration and automatic informations is meta data is provided.

Due to this fact and missing metadata informations in returned discovery I created task #3948 to fix this issue.

Added by Hamid Alimohammadi about 3 years ago

Thank you Andrzej for the reply.

Added by Hamid Alimohammadi almost 3 years ago

Hi Andrrzej,

May I ask if the metadata option "Number of subscribers" has been included in the Tigase version tigase-server-7.0.4-b3844?

Thank you in advance

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam almost 3 years ago

Task #3948 in which changes were made is part of Tigase XMPP Server 7.1.0 released on which we work and should released it soon.

Tigase XMPP Server 7.0.4 is a bugfix release for Tigase XMPP Server 7.0.x releases.