diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-03-04 15:22:45 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-03-04 15:22:45 +0000 |
commit | ab835fed13e300b3a49131296917f5038eb6c06c (patch) | |
tree | a55d78e6ff4e53a8ccbdd6d9e8d7509a3a7f3133 /plugins/mod_storage_xep0227.lua | |
parent | fe56effa55147a7deb8ee754c092af899e662c73 (diff) | |
download | prosody-ab835fed13e300b3a49131296917f5038eb6c06c.tar.gz prosody-ab835fed13e300b3a49131296917f5038eb6c06c.zip |
util.hex: Deprecate to/from in favour of encode/decode, for consistency!
Diffstat (limited to 'plugins/mod_storage_xep0227.lua')
-rw-r--r-- | plugins/mod_storage_xep0227.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_storage_xep0227.lua b/plugins/mod_storage_xep0227.lua index 1a7baaeb..9a3ca002 100644 --- a/plugins/mod_storage_xep0227.lua +++ b/plugins/mod_storage_xep0227.lua @@ -68,11 +68,11 @@ local function createOuterXml(user, host) end local function hex_to_base64(s) - return base64.encode(hex.from(s)); + return base64.encode(hex.decode(s)); end local function base64_to_hex(s) - return base64.encode(hex.from(s)); + return base64.encode(hex.decode(s)); end local handlers = {}; |