diff options
author | erikjohnston <erikjohnston@users.noreply.github.com> | 2023-12-12 17:29:11 +0000 |
---|---|---|
committer | erikjohnston <erikjohnston@users.noreply.github.com> | 2023-12-12 17:29:11 +0000 |
commit | 001046b66e7cf9d27f0edda65c763a15c181fd26 (patch) | |
tree | 6f49d264a9fc117153bb93ae080ba662d27849b2 /latest/server_notices.html | |
parent | deploy: e108cde669fcc0a9f1def9d8771f962c9b0b312f (diff) | |
download | synapse-001046b66e7cf9d27f0edda65c763a15c181fd26.tar.xz |
deploy: 15733b0931ceaa72cf4175c44fe58128fa273bac
Diffstat (limited to 'latest/server_notices.html')
-rw-r--r-- | latest/server_notices.html | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/latest/server_notices.html b/latest/server_notices.html index 1586acf422..a0a2fd3f48 100644 --- a/latest/server_notices.html +++ b/latest/server_notices.html @@ -28,6 +28,7 @@ <link rel="stylesheet" href="docs/website_files/table-of-contents.css"> <link rel="stylesheet" href="docs/website_files/remove-nav-buttons.css"> <link rel="stylesheet" href="docs/website_files/indent-section-headers.css"> + <link rel="stylesheet" href="docs/website_files/version-picker.css"> </head> <body> <!-- Provide site root to javascript --> @@ -103,6 +104,18 @@ <button id="search-toggle" class="icon-button" type="button" title="Search. (Shortkey: s)" aria-label="Toggle Searchbar" aria-expanded="false" aria-keyshortcuts="S" aria-controls="searchbar"> <i class="fa fa-search"></i> </button> + <div class="version-picker"> + <div class="dropdown"> + <div class="select"> + <span></span> + <i class="fa fa-chevron-down"></i> + </div> + <input type="hidden" name="version"> + <ul class="dropdown-menu"> + <!-- Versions will be added dynamically in version-picker.js --> + </ul> + </div> + </div> </div> <h1 class="menu-title">Synapse</h1> @@ -181,12 +194,14 @@ section, which should look like this:</p> system_mxid_display_name: "Server Notices" system_mxid_avatar_url: "mxc://server.com/oumMVlgDnLYFaPVkExemNVVZ" room_name: "Server Notices" + auto_join: true </code></pre> <p>The only compulsory setting is <code>system_mxid_localpart</code>, which defines the user id of the Server Notices user, as above. <code>room_name</code> defines the name of the room which will be created.</p> <p><code>system_mxid_display_name</code> and <code>system_mxid_avatar_url</code> can be used to set the displayname and avatar of the Server Notices user.</p> +<p><code>auto_join</code> will autojoin users to the notices room instead of sending an invite.</p> <h2 id="sending-notices"><a class="header" href="#sending-notices">Sending notices</a></h2> <p>To send server notices to users you can use the <a href="admin_api/server_notices.html">admin_api</a>.</p> @@ -229,5 +244,7 @@ displayname and avatar of the Server Notices user.</p> <!-- Custom JS scripts --> <script type="text/javascript" src="docs/website_files/table-of-contents.js"></script> + <script type="text/javascript" src="docs/website_files/version-picker.js"></script> + <script type="text/javascript" src="docs/website_files/version.js"></script> </body> -</html> \ No newline at end of file +</html> |