Changeset

5678: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 5677:31e56562f9bd
children 5679:c20b77e5e032
files mod_muc_members_json/README.md
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/mod_muc_members_json/README.md	Mon Sep 18 18:33:01 2023 +0200
+++ b/mod_muc_members_json/README.md	Mon Sep 18 18:34:55 2023 +0200
@@ -52,14 +52,14 @@
 JSON format
 ===========
 
-```
+``` json
 {
   "members": [
     {
-      "jids": ["user@example.com"]
-    },
-    {
-      "jids": ["user2@example.com"]
+      "jids": [
+        "user@example.com",
+        "user2@example.com"
+      ]
     },
     {
       "jids": ["user3@example.com"],