diff --git a/inbox/pubsub-filter.xml b/inbox/pubsub-filter.xml index f4009bf5..acc4a494 100644 --- a/inbox/pubsub-filter.xml +++ b/inbox/pubsub-filter.xml @@ -54,7 +54,7 @@ @@ -66,13 +66,13 @@ -

While requesting disco#items on a PubSub service, an entity might want to only get nodes of certain pubsub#type. To do so, it may add a filter child of namespace urn:xmpp:pubsub-filter:0 to the query element, containing a &xep0004; form with FORM_TYPE set to urn:xmpp:pubsub-filter:0 and an allowed-types or blocked-types list-multi type field containing the various types it wants to filter.

+

While requesting disco#items on a PubSub service, an entity might want to only get nodes of certain pubsub#type. To do so, it may add a filter child of namespace urn:xmpp:pubsub-filter:0 to the query element, containing a &xep0004; form with FORM_TYPE set to urn:xmpp:pubsub-filter:0 and an included-types or excluded-types list-multi type field containing the various types it wants to filter.

-

When allowed-types is specified, a PubSub service MUST return nodes of matching pubsub#type in its response.

+

When included-types is specified, a PubSub service MUST return nodes of matching pubsub#type in its response.

-

When blocked-types is specified, a PubSub service MUST return every node but those of matching pubsub#types in its response.

+

When excluded-types is specified, a PubSub service MUST return every node but those of matching pubsub#types in its response.

-

Both allowed and blocked fields MAY contain an empty value to designate nodes with an empty pubsub#type.

+

Both included and excluded fields MAY contain an empty value to designate nodes with an empty pubsub#type.

urn:xmpp:pubsub-filter:0 - + urn:xmpp:microblog:0 @@ -93,7 +93,7 @@ ]]> -

If both the allowed and blocked fields are specified, a service MUST return an error of type modify containing a bad-request element in the urn:ietf:params:xml:ns:xmpp-stanzas namespace.

+

If both the included and excluded fields are specified, a service MUST return an error of type modify containing a bad-request element in the urn:ietf:params:xml:ns:xmpp-stanzas namespace.