teal-src/util/id.d.tl
author Kim Alvefur <zash@zash.se>
Sun, 05 Sep 2021 18:42:44 +0200
changeset 11773 071715a18394
parent 11463 86904555bffc
permissions -rw-r--r--
mod_pubsub: Move reversal of item order in <items> Examples in XEP-0060 suggest that items should be listed in chronological order, but we get them from the archive in reverse order. However when requesting specific items by id the results keep that order and we don't want to flip it again. At some point it would likely be best to use the archive API directly instead of this util.cache-compatible wrapper.

local record lib
	short : function () : string
	medium : function () : string
	long : function () : string
	custom : function (integer) : function () : string

end
return lib