Skip to content

Commit cd448d8

Browse files
committed
Update some module options from ejabberd
1 parent 18f6ddf commit cd448d8

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

content/admin/configuration/modules.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ Same as top-level [default_db](toplevel.md#default_db) option, but applied to th
191191
only.
192192

193193
- **token\_lifetime**: `timeout()`
194-
Time that tokens will be kept, measured from it’s creation time.
195-
Default value set to 30 days
194+
Time that tokens will be kept, measured from it’s creation time. Default
195+
value set to 30 days
196196

197197
- **token\_refresh\_age**: `timeout()`
198198
This time determines age of token, that qualifies for automatic refresh.
@@ -790,7 +790,7 @@ To run a command, send a POST request to the corresponding URL:
790790

791791
__Available options:__
792792

793-
- **default\_version 🟤`*: `integer() | string()*
793+
- **default\_version 🟤**: `integer() | string()`
794794
<!-- md:version added in [24.12](../../archive/24.12/index.md) -->
795795
What API version to use when
796796
none is specified in the URL path. If setting an ejabberd version, it
@@ -1172,6 +1172,13 @@ Message Archive Management
11721172
Preferences](https://xmpp.org/extensions/xep-0441.html). Compatible XMPP
11731173
clients can use it to store their chat history on the server.
11741174

1175+
!!! note
1176+
1177+
Mnesia backend for mod\_mam is not recommended: it’s limited to 2GB
1178+
and often gets corrupted when reaching this limit. SQL backend is
1179+
recommended. Namely, for small servers SQLite is a preferred choice
1180+
because it’s very easy to configure.
1181+
11751182
__Available options:__
11761183

11771184
- **access\_preferences**: `AccessName`
@@ -1654,8 +1661,10 @@ capability. The `Options` are:
16541661
The default value is an empty string.
16551662

16561663
- **enable\_hats**: `true | false`
1657-
Allow extended roles as defined in
1658-
XEP-0317 Hats. The default value is `false`.
1664+
`Note` about this option: improved
1665+
in 25.xx. Allow extended roles as defined in XEP-0317 Hats. Check
1666+
the [MUC Hats](../../tutorials/muc-hats.md) tutorial. The default
1667+
value is `false`.
16591668

16601669
- **lang**: `Language`
16611670
Preferred language for the discussions in the
@@ -1736,6 +1745,10 @@ capability. The `Options` are:
17361745
A custom vCard for the room. See the equivalent
17371746
mod\_muc option.The default value is an empty string.
17381747

1748+
- **vcard\_xupdate**: `undefined | external | AvatarHash`
1749+
Set the hash
1750+
of the avatar image. The default value is `undefined`.
1751+
17391752
- **voice\_request\_min\_interval**: `Number`
17401753
Minimum interval between
17411754
voice requests, in seconds. The default value is `1800`.

0 commit comments

Comments
 (0)