Mercurial > prosody-modules
annotate mod_invite/README.markdown @ 3953:2c6d5734ae04
mod_rest: Add JSON mapping of XEP-0128: Service Discovery Extensions
Example XEP-0157 payload:
{
"disco" : {
"extensions" : {
"http://jabber.org/network/serverinfo" : {
"abuse-addresses" : [
"mailto:abuse@shakespeare.lit",
"xmpp:abuse@shakespeare.lit"
],
"admin-addresses" : [
"mailto:admin@shakespeare.lit",
"xmpp:admin@shakespeare.lit"
],
"feedback-addresses" : [
"http://shakespeare.lit/feedback.php",
"mailto:feedback@shakespeare.lit",
"xmpp:feedback@shakespeare.lit"
],
"sales-addresses" : [
"xmpp:bard@shakespeare.lit"
],
"security-addresses" : [
"xmpp:security@shakespeare.lit"
],
"support-addresses" : [
"http://shakespeare.lit/support.php",
"xmpp:support@shakespeare.lit"
]
}
}
}
}
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 23 Mar 2020 19:03:04 +0100 |
parents | e96a86561f3e |
children | 78b7879a04f7 |
rev | line source |
---|---|
2059 | 1 --- |
2 labels: | |
3 - 'Stage-Alpha' | |
4 summary: 'Allows users to invite new users' | |
5 ... | |
6 | |
7 Introduction | |
8 ============ | |
9 | |
10 This module allows users with an account to generate single-use invite URLs | |
11 using an ad-hoc command. The invite URLs allow new users to create an account | |
12 even if public registration is disabled. | |
13 | |
14 After the account is created, the inviter and the invitee are automatically | |
15 added to the other's roster. The inviter of a user is stored, so can be used | |
16 later (for example, for detecting spammers). | |
17 | |
18 This module depends on Prosody's internal webserver. | |
19 | |
20 Compatibility | |
21 ============= | |
22 | |
23 ----- ------- | |
24 0.9 Works | |
25 ----- ------- |