From 5016e666403899202ad8b5775761325ee98cf3b8 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 20 Oct 2021 17:32:34 +0200 Subject: mod_pubsub,mod_pep: Advertise maximum number of items via XEP-0122 Clients would generally be using the "max" symbol instead of discovering this, but this also gets us validation and earlier rejection of out of bounds values. --- spec/scansion/pubsub_config.scs | 4 ++-- spec/scansion/pubsub_max_items.scs | 2 +- spec/scansion/pubsub_multi_items.scs | 2 +- spec/scansion/pubsub_preconditions.scs | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'spec') diff --git a/spec/scansion/pubsub_config.scs b/spec/scansion/pubsub_config.scs index de3f47da..d06d864e 100644 --- a/spec/scansion/pubsub_config.scs +++ b/spec/scansion/pubsub_config.scs @@ -49,7 +49,7 @@ Romeo receives: - + 1 @@ -139,7 +139,7 @@ Romeo sends: - + 1 diff --git a/spec/scansion/pubsub_max_items.scs b/spec/scansion/pubsub_max_items.scs index ae106edd..c5525bd3 100644 --- a/spec/scansion/pubsub_max_items.scs +++ b/spec/scansion/pubsub_max_items.scs @@ -44,7 +44,7 @@ Alice receives: - + 20 diff --git a/spec/scansion/pubsub_multi_items.scs b/spec/scansion/pubsub_multi_items.scs index d8a9536a..e43bc839 100644 --- a/spec/scansion/pubsub_multi_items.scs +++ b/spec/scansion/pubsub_multi_items.scs @@ -44,7 +44,7 @@ Alice receives: - + 20 diff --git a/spec/scansion/pubsub_preconditions.scs b/spec/scansion/pubsub_preconditions.scs index bcf83219..5c0c2569 100644 --- a/spec/scansion/pubsub_preconditions.scs +++ b/spec/scansion/pubsub_preconditions.scs @@ -48,7 +48,7 @@ Romeo receives: - + 1 @@ -138,7 +138,7 @@ Romeo sends: - + 1 -- cgit v1.2.3