powered by Jive Software

Creating Group By Sending IQ

How can I create a group by sending iq to openfire?

Example :

If you send this iq to server then it creates the personal group.

<iq from='juliet@example.com/chamber' type='set' id='roster_3'>
  <query xmlns='jabber:iq:roster'>
    <item jid='romeo@example.net'
          name='Romeo'
          subscription='both'>
      <group>Friends</group>
      <group>Lovers</group>
    </item>
  </query>
</iq>

But I want to create public group. Users

  • User Summary

  • Create New User

  • User Search

  • Advanced User Search

Groups

  • Group Summary

  • Create New Group <<<<

How can I create by sending iq to server? Thanks