view mod_bob/README.markdown @ 4503:80912726405d

mod_rest: Allow passing e.g. disco 'node' as a ?query variable This enables e.g. GET /disco/pubsub.example.org?node=princely_musings Note the hack to skip this for ping.
author Kim Alvefur <zash@zash.se>
date Sun, 07 Mar 2021 22:01:50 +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";
		...
	}
```