|
@@ -16,6 +16,11 @@
|
16
|
16
|
# you should enable them in server.listeners in place of the default
|
17
|
17
|
# self-signed certificates
|
18
|
18
|
# 3. the operator password in the 'opers' section
|
|
19
|
+# 4. by default, message history is enabled, using in-memory history storage
|
|
20
|
+# and with messages expiring after 7 days. depending on your needs, you may
|
|
21
|
+# want to disable history entirely, remove the expiration time, switch to
|
|
22
|
+# persistent history stored in MySQL, or do something else entirely. See
|
|
23
|
+# the 'history' section of the config.
|
19
|
24
|
|
20
|
25
|
# network configuration
|
21
|
26
|
network:
|
|
@@ -787,13 +792,13 @@ roleplay:
|
787
|
792
|
history:
|
788
|
793
|
# should we store messages for later playback?
|
789
|
794
|
# by default, messages are stored in RAM only; they do not persist
|
790
|
|
- # across server restarts. however, you should not enable this unless you understand
|
791
|
|
- # how it interacts with the GDPR and/or any data privacy laws that apply
|
|
795
|
+ # across server restarts. however, you may want to understand how message
|
|
796
|
+ # history interacts with the GDPR and/or any data privacy laws that apply
|
792
|
797
|
# in your country and the countries of your users.
|
793
|
|
- enabled: false
|
|
798
|
+ enabled: true
|
794
|
799
|
|
795
|
800
|
# how many channel-specific events (messages, joins, parts) should be tracked per channel?
|
796
|
|
- channel-length: 1024
|
|
801
|
+ channel-length: 2048
|
797
|
802
|
|
798
|
803
|
# how many direct messages and notices should be tracked per user?
|
799
|
804
|
client-length: 256
|
|
@@ -804,7 +809,7 @@ history:
|
804
|
809
|
# are dynamically expanded up to the maximum length. if the buffer is full
|
805
|
810
|
# and the oldest message is older than `autoresize-window`, then it will overwrite
|
806
|
811
|
# the oldest message rather than resize; otherwise, it will expand if possible.
|
807
|
|
- autoresize-window: 1h
|
|
812
|
+ autoresize-window: 3d
|
808
|
813
|
|
809
|
814
|
# number of messages to automatically play back on channel join (0 to disable):
|
810
|
815
|
autoreplay-on-join: 0
|
|
@@ -821,7 +826,7 @@ history:
|
821
|
826
|
restrictions:
|
822
|
827
|
# if this is set, messages older than this cannot be retrieved by anyone
|
823
|
828
|
# (and will eventually be deleted from persistent storage, if that's enabled)
|
824
|
|
- #expire-time: 1w
|
|
829
|
+ expire-time: 1w
|
825
|
830
|
|
826
|
831
|
# if this is set, logged-in users cannot retrieve messages older than their
|
827
|
832
|
# account registration date, and logged-out users cannot retrieve messages
|