From 22060f15ccd6851e77dd0cd38efaecb91bd0d623 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 5 Sep 2021 16:43:41 +0200 Subject: mod_pubsub: Add support for limiting result size #1608 --- spec/scansion/pubsub_max_items.scs | 196 +++++++++++++++++++++++++++++++++++++ 1 file changed, 196 insertions(+) create mode 100644 spec/scansion/pubsub_max_items.scs (limited to 'spec/scansion') diff --git a/spec/scansion/pubsub_max_items.scs b/spec/scansion/pubsub_max_items.scs new file mode 100644 index 00000000..7f0b531d --- /dev/null +++ b/spec/scansion/pubsub_max_items.scs @@ -0,0 +1,196 @@ +# Pubsub: Requesting the Most Recent Items (#1608) + +[Client] Alice + jid: admin@localhost + password: password + +--------- + +Alice connects + +Alice sends: + + +Alice receives: + + +Alice sends: + + + + + + +Alice receives: + + +Alice sends: + + + + + + +Alice receives: + + + + + + http://jabber.org/protocol/pubsub#node_config + + + + + + + 20 + + + 1 + + + + + + + + open + + + + + + publishers + + + 1 + + + 1 + + + + + headline + + + 1 + + + 1 + + + + + + +Alice sends: + + + + + foo + + + + + +Alice receives: + + + + + + + + +Alice sends: + + + + + bar + + + + + +Alice receives: + + + + + + + + +Alice sends: + + + + + + +Alice receives: + + + + + bar + + + + + +Alice sends: + + + + + + +Alice receives: + + + + + foo + + + bar + + + + + +Alice sends: + + + + + + +Alice receives: + + -- cgit v1.2.3