1782
|
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|| |