Diff

mod_bob/README.md @ 6209:d611ed13df7e draft

Merge
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Tue, 18 Mar 2025 00:16:25 +0700
parent 4233:db75772afb28
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mod_bob/README.md	Tue Mar 18 00:16:25 2025 +0700
@@ -0,0 +1,23 @@
+---
+summary: Cache Bits of Binary on MUC services
+rockspec:
+  dependencies:
+    - mod_cache_c2s_caps
+---
+
+Description
+===========
+
+This module extracts cid: URIs (as defined in XEP-0231) from messages, and
+replies with their content whenever another client asks for the actual data.
+
+Usage
+=====
+
+```lua
+Component "rooms.example.org" "muc"
+	modules_enabled = {
+		"bob";
+		...
+	}
+```