comparison mod_muc_members_json/README.md @ 5655:1cae6133e315

mod_muc_members_json: Demonstrate support for more than one JID per list
author Kim Alvefur <zash@zash.se>
date Mon, 18 Sep 2023 18:34:55 +0200
parents 31e56562f9bd
children aa94d5bb6b10
comparison
equal deleted inserted replaced
5654:31e56562f9bd 5655:1cae6133e315
50 ``` 50 ```
51 51
52 JSON format 52 JSON format
53 =========== 53 ===========
54 54
55 ``` 55 ``` json
56 { 56 {
57 "members": [ 57 "members": [
58 { 58 {
59 "jids": ["user@example.com"] 59 "jids": [
60 }, 60 "user@example.com",
61 { 61 "user2@example.com"
62 "jids": ["user2@example.com"] 62 ]
63 }, 63 },
64 { 64 {
65 "jids": ["user3@example.com"], 65 "jids": ["user3@example.com"],
66 "roles": ["janitor"] 66 "roles": ["janitor"]
67 } 67 }