view mod_bob/README.markdown @ 4757:8e22b858628f

luacheck: Discourage use of the 'hosts' global (like in Prosody) Shorter name for prosody.hosts which is more explicit. Having fewer globals is better.
author Kim Alvefur <zash@zash.se>
date Sun, 07 Nov 2021 14:18:47 +0100
parents db75772afb28
children
line wrap: on
line source

---
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";
		...
	}
```