Done in https://hg.prosody.im/trunk/rev/aa6ab07544c2
Bit quirky due to how it's a layer away from the underlying archive interface.
The pubsub storage interface seems to have outgrown util.cache and could do with a redesign at some point. In the future.
https://xmpp.org/extensions/xep-0060.html#subscriber-retrieve-requestrecent Currently only retrieval of all items or by explicit list of item ids is supported.
Done in https://hg.prosody.im/trunk/rev/aa6ab07544c2 Bit quirky due to how it's a layer away from the underlying archive interface. The pubsub storage interface seems to have outgrown util.cache and could do with a redesign at some point. In the future.
Changes