Quantcast
Channel: Ignite Realtime : All Content - Openfire Dev
Viewing all articles
Browse latest Browse all 966

Add user to shared group (XEP-0140)

$
0
0

We are creating custom XMPP-client and are using OpenFire server 3.9.3. Question is: does OpenFire fully support standart XEP-0140: Shared Groups (http://xmpp.org/extensions/xep-0140.html) or a newer standart XEP-0144: Roster Item Exchange (http://xmpp.org/extensions/xep-0144.html)?

 

We are able to programmatically create new users using XEP-0133 (http://xmpp.org/extensions/xep-0133.html#add-user), but we are unable to add them to a shared group using XEP-0140 (http://xmpp.org/extensions/xep-0140.html#add).

 

Used XMPP-query example:

 

<iqtype='set'
   
from='bofh@example.com/daygig'
   
to='pubsub.example.com'
   
id='sub1'>
 
<pubsubxmlns='http://jabber.org/protocol/pubsub'>
   
<entitiesnode='groups/Marketing/Europe'>
     
<entityjid='alice@example.com'
             
affiliation='none'
             
subscription='subscribed'/>
   
</entities>
 
</pubsub>
</iq>

 

For this server returns:

 

<error code="400" type="modify">

    <bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></bad-request>

</error>

 

Standart XEP-0144 doesn't work either, or it even can't be used for this purpose...

 

Any ideas / suggestions?


Viewing all articles
Browse latest Browse all 966