Software /
code /
prosody
File
teal-src/util/uuid.d.tl @ 12178:0aa99a6dfb3e
mod_bookmarks: Fix traceback on attempt to convert invalid bookmark
Found by accidentally publishing {urn:xmpp:bookmarks:0}conference
instead of :1 due to testing this earlier for the blocking.
By the principle of garbage in, garbage out, just generate a bookmark
from the item id / JID and carry on with a warning.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 11 Jan 2022 00:06:48 +0100 |
parent | 11459:86904555bffc |
child | 12625:e43a01641ca1 |
line wrap: on
line source
local record lib get_nibbles : (number) : string generate : function () : string seed : function (string) end return lib