Software / code / prosody-modules
File
mod_compact_resource/mod_compact_resource.lua @ 6253:4d040f506c6c
mod_vcard_muc: deprecated
diff --git a/mod_vcard_muc/README.md b/mod_vcard_muc/README.md
--- a/mod_vcard_muc/README.md
+++ b/mod_vcard_muc/README.md
@@ -1,6 +1,7 @@
---
summary: Support for MUC vCards and avatars
labels:
+- 'Stage-Deprecated'
- 'Stage-Stable'
...
@@ -21,8 +22,8 @@ modules_enabled = {
# Compatibility
- ------------------------- ----------
- trunk^[as of 2024-10-22] Works
+ ------------------------- ----------------------------------------
+ 0.13 Room avatar feature included in Prosody
0.12 Works
- ------------------------- ----------
+ ------------------------- ----------------------------------------
| author | Menel <menel@snikket.de> |
|---|---|
| date | Mon, 12 May 2025 12:13:25 +0200 |
| parent | 1761:6f34e51a23f0 |
line wrap: on
line source
local base64_encode = require"util.encodings".base64.encode; local random_bytes = require"util.random".bytes; local b64url = { ["+"] = "-", ["/"] = "_", ["="] = "" }; local function random_resource() return base64_encode(random_bytes(8)):gsub("[+/=]", b64url); end module:hook("pre-resource-bind", function (event) event.resource = random_resource(); end);