view mod_bob/README.markdown @ 3793:0d3926e49b55

mod_pubsub_post: Fix use of 'id' field in JSON object as pubsub item id `data` here is the source string, so there's no `id` field. Also only use the `id` field if it's a string.
author Kim Alvefur <zash@zash.se>
date Wed, 01 Jan 2020 10:11:08 +0100
parents 3aa5419e3576
children db75772afb28
line wrap: on
line source

---
summary: Cache Bits of Binary on MUC services
---

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