Mercurial > prosody-modules
comparison mod_broadcast/README.wiki @ 1782:29f3d6b7ad16
Import wiki pages
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 24 Aug 2015 16:43:56 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1781:12ac88940fe3 | 1782:29f3d6b7ad16 |
---|---|
1 #summary Broadcast a message to online users | |
2 #labels Stage-Stable | |
3 | |
4 = Introduction = | |
5 | |
6 This module largely duplicates the functionality of the standard mod_announce that is included with Prosody. It was developed for compatibility with some clients (e.g. iChat) that do not support ad-hoc commands or sending to JIDs with the format 'example.com/announce/online'. | |
7 | |
8 It may also be useful in other specific cases. | |
9 | |
10 = Configuration = | |
11 | |
12 {{{ | |
13 Component "broadcast@example.com" "broadcast" | |
14 }}} | |
15 | |
16 By default, only server admins are allowed to post to this address. You can override this, by specifying the 'broadcast_senders' option: | |
17 | |
18 {{{ | |
19 Component "broadcast@example.com" "broadcast" | |
20 broadcast_senders = { "user1@example.com", "user2@example.com" } | |
21 }}} | |
22 | |
23 = Compatibility = | |
24 ||0.9||Works|| | |
25 ||0.10||Works|| |