aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-11-07 22:09:46 +0100
committerKim Alvefur <zash@zash.se>2020-11-07 22:09:46 +0100
commitdb2c51bcae351065eeb31094eed8fa98cd5172f3 (patch)
tree219023c1facd5770ce8f7d53e3ba8740fc6aeb05 /plugins/mod_pubsub
parent317c76c881299712a6153ca0999ef288759d537b (diff)
downloadprosody-db2c51bcae351065eeb31094eed8fa98cd5172f3.tar.gz
prosody-db2c51bcae351065eeb31094eed8fa98cd5172f3.zip
util.stanza: Simplify and make pretty-printing look nicer
I've had this color theme in a local debug module for some time and I quite like it. The colors are from the XMPP logo. Removes extra XML serialization implementation in favor of the standard one. Also removes recursive str=str..more string building. The new two-level gsub has the accumulator in C space so shouldn't be too bad. The inner gsub calls use no callback, so should be fast and not create all that much garbage. No serious benchmarking has been done, but who cares if it looks nice?
Diffstat (limited to 'plugins/mod_pubsub')
0 files changed, 0 insertions, 0 deletions