diff 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
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"],