Software /
code /
prosody-modules
Comparison
mod_conversejs/mod_conversejs.lua @ 4914: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 |
parent | 4891:99cdc7cde150 |
child | 4976:75b6e5df65f9 |
comparison
equal
deleted
inserted
replaced
4913:47d03db2fca8 | 4914: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 }); |