diff mod_default_bookmarks/README.markdown @ 5606:39bb7232326d

mod_default_bookmarks: Include 'autojoin' in examples The text does mention this, but who reads that?
author Kim Alvefur <zash@zash.se>
date Mon, 17 Jul 2023 16:40:45 +0200
parents 420ebea00cf3
children
line wrap: on
line diff
--- a/mod_default_bookmarks/README.markdown	Sat Jul 15 12:27:24 2023 +0200
+++ b/mod_default_bookmarks/README.markdown	Mon Jul 17 16:40:45 2023 +0200
@@ -31,13 +31,15 @@
 
 Then add a list of the default rooms you want:
 
-    default_bookmarks = {
-        { jid = "room@conference.example.com", name = "The Room" };
-        -- Specifying a password is supported:
-        { jid = "secret-room@conference.example.com", name = "A Secret Room", password = "secret" };
-        -- You can also use this compact syntax:
-        "yetanother@conference.example.com"; -- this will get "yetanother" as name
-    };
+``` lua
+default_bookmarks = {
+    { jid = "room@conference.example.com"; name = "The Room"; autojoin = true };
+    -- Specifying a password is supported:
+    { jid = "secret-room@conference.example.com"; name = "A Secret Room"; password = "secret"; autojoin = true };
+    -- You can also use this compact syntax:
+    "yetanother@conference.example.com"; -- this will get "yetanother" as name
+};
+```
 
 Compatibility
 -------------