Software /
code /
prosody
File
plugins/mod_unknown.lua @ 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 | 6003:28a90f5fea46 |
line wrap: on
line source
-- Unknown platform stub module:set_global(); -- TODO Do things that make sense if we don't know about the platform