Hi, in example '208. Service sends notification of affiliation change' at chapter http://xmpp.org/extensions/xep-0060.html#owner-affiliations-notify the example stanza is the following:
<message from='pubsub.shakespeare.lit' to='[email protected]'> <pubsub xmlns='http://jabber.org/protocol/pubsub'> <affiliations node='princely_musings'> <affilation jid='[email protected]' affiliation='none'/> </affiliations> </pubsub> </message> (Notice the <affiliations> -element). However all the other notifications are done with the "event" -element. For example the example "170. Subscription approval notification": <message from='pubsub.shakespeare.lit' to='[email protected]' id='approvalnotify1'> <event xmlns='http://jabber.org/protocol/pubsub#event'> <subscription node='princely_musings' jid='[email protected]' subscription='subscribed'/> </event> </message> Is the <affiliations> -element used on purpose or it is a typo? If the <affiliaions> -element is really meant to be used, what's the use case for it to be used (and why not to use the event)? Cheers and great weekend for all! -- Tuomas
