> If there are 1000+ users on the server,and everyone has 200+ rosters,all 
> rosters have avatars and moods,then server handle these things like that,the 
> network traffic will be very heavy,pubsub event storm? So I want to find a 
> method to tell server do not send these notifications to me,if I need to know 
> these,I will send query package to get it.

Avoiding unnecessary traffic is the main the reason to use two
separate nodes (data and metadata).
Note that on the normal case you should only subscribe or advertise
interest (Entity Caps) in the metadata node. That way you will receive
lightweight notifications when the avatar is updated and only retrieve
the data when needed.

> I just set pubsub options to cancel these notifications like below, and the 
> server told me success, it's not OK.
>
> <iq type="set"
>    to="m...@fuyootrh"
>    id="config9">
>  <pubsub xmlns="http://jabber.org/protocol/pubsub#owner";>
>    <configure node="urn:xmpp:avatar:data">
>      <x xmlns="jabber:x:data" type="submit">
>        <field var="pubsub#send_last_published_item"><value>0</value></field>
>      </x>
>    </configure>
>  </pubsub>
> </iq>

I don't know Openfire but, according to the protocol, '0' is not a
valid value here. Try with 'never' or 'on_sub'.
Also, as far as I know you need to submit the complete configuration form.

Reply via email to