aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion/pubsub_max_items.scs
Commit message (Collapse)AuthorAgeFilesLines
* scansion: Fix tests failing after addition of pubsub#itemreply config fieldMatthew Wild2023-03-231-0/+12
| | | | This is a newly added field, and we expect to see it in these places now.
* mod_pubsub,mod_pep: Advertise maximum number of items via XEP-0122Kim Alvefur2021-10-201-1/+1
| | | | | | 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.
* mod_pubsub: Prevent max_items from being set to zeroKim Alvefur2021-10-201-1/+3
| | | | | | | Disable persistence instead if no items should be persisted. XEP-0060 is not entirely clear on what either of those option really mean.
* mod_pubsub,mod_pep: Implement 'send_last_published_item' option #1436Kim Alvefur2021-10-191-0/+12
| | | | | | | | Default left as 'never' in mod_pubsub to preserve the previous behavior. Unclear if this is desirable, but can always be changed later. In mod_pep this allows turning off the automatic resending of most recent item.
* mod_pubsub: Add support for limiting result size #1608Kim Alvefur2021-09-051-0/+196