comparison mod_conversejs/mod_conversejs.lua @ 4915:f2c918fe8cf0

mod_conversejs: Bump Copyright year Mostly to trigger a rebuild of the .rock
author Kim Alvefur <zash@zash.se>
date Mon, 04 Apr 2022 17:50:24 +0200
parents 99cdc7cde150
children 75b6e5df65f9
comparison
equal deleted inserted replaced
4914:47d03db2fca8 4915:f2c918fe8cf0
1 -- mod_conversejs 1 -- mod_conversejs
2 -- Copyright (C) 2017 Kim Alvefur 2 -- Copyright (C) 2017-2022 Kim Alvefur
3 3
4 local json_encode = require"util.json".encode; 4 local json_encode = require"util.json".encode;
5 local xml_escape = require "util.stanza".xml_escape; 5 local xml_escape = require "util.stanza".xml_escape;
6 local urlencode = require "util.http".urlencode; 6 local urlencode = require "util.http".urlencode;
7 local render = require "util.interpolation".new("%b{}", xml_escape, { json = json_encode }); 7 local render = require "util.interpolation".new("%b{}", xml_escape, { json = json_encode });