comparison mod_pastebin.wiki @ 138:d88da0ded786

Clarify that mod_pastebin must be loaded especially for components
author MWild1
date Fri, 02 Jul 2010 18:11:54 +0000
parents 927270e0b963
children 000cd449e801
comparison
equal deleted inserted replaced
137:eb945500dae4 138:d88da0ded786
11 11
12 When someone posts to a room a "large" (configurable) message, Prosody will intercept the message and convert it to a URL pointing to a built-in pastebin server. The URLs are randomly generated, so they can be considered for most purposes to be private, and cannot be discovered by people who are not in the room. 12 When someone posts to a room a "large" (configurable) message, Prosody will intercept the message and convert it to a URL pointing to a built-in pastebin server. The URLs are randomly generated, so they can be considered for most purposes to be private, and cannot be discovered by people who are not in the room.
13 13
14 = Usage = 14 = Usage =
15 15
16 Load mod_pastebin onto the MUC component (interestingly it can also be loaded on normal hosts and it will intercept standard chat messages). 16 To set up mod_pastebin for MUC rooms it *must* be explicitly loaded, as in the example below - it won't work when loaded globally, as that will only load it onto normal virtual hosts.
17 17
18 For example: 18 For example:
19 {{{ 19 {{{
20 Component "conference.example.com" "muc" 20 Component "conference.example.com" "muc"
21 modules_enabled = { "pastebin" } 21 modules_enabled = { "pastebin" }