Skip to content

Commit

Permalink
Merge pull request igniterealtime#2137 from guusdk/OF-2537_pubsub-adv…
Browse files Browse the repository at this point in the history
…ertise-multi-item

OF-2537: Advertise support for pubsub's 'multi-item' feature
  • Loading branch information
akrherz authored Nov 3, 2022
2 parents fa9b319 + 87190b5 commit fbdcdc7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,8 @@ public Iterator<String> getFeatures(String name, String node, JID senderJID) {
features.add("http://jabber.org/protocol/pubsub#subscription-options");
// Publishing options are supported.
features.add("http://jabber.org/protocol/pubsub#publish-options");
// Clients are allowed to set persist_items to true, and max_items to a value higher than 1, so this service can support multiple items.
features.add("http://jabber.org/protocol/pubsub#multi-items");
}
else if (name == null) {
// Answer the features of a given node
Expand Down

0 comments on commit fbdcdc7

Please sign in to comment.