Commit 661fab8d authored by Link Mauve's avatar Link Mauve

Switch the default use_log value to true

Since this is a privacy sensitive action, a short message is now
displayed on first run.
parent 40fc9246
Pipeline #1514 passed with stages
in 2 minutes and 23 seconds
......@@ -251,7 +251,7 @@ use_bookmarks_method =
# set to 'true' if you want to save logs of all the messages
# in files.
#use_log = false
#use_log = true
# The number of lines to preload in a chat buffer when it opens
# (the lines are preloaded from the log files)
......
......@@ -907,10 +907,9 @@ Options related to logging.
use_log
**Default value:** ``false``
**Default value:** ``true``
Set to ``true`` if you want to save logs of all the messages
in files.
Set to ``false`` if you don’t want to write any message to the disk.
Plugins
~~~~~~~
......
......@@ -137,7 +137,7 @@ DEFAULT_CONFIG = {
'themes_dir': '',
'tmp_image_dir': '',
'use_bookmarks_method': '',
'use_log': False,
'use_log': True,
'use_remote_bookmarks': True,
'user_list_sort': 'desc',
'use_tab_nicks': True,
......
......@@ -526,10 +526,13 @@ class Core:
if firstrun:
self.information(
'It seems that it is the first time you start poezio.\n'
'The online help is here http://doc.poez.io/\n'
'The online help is here https://doc.poez.io/\n\n'
'No room is joined by default, but you can join poezio’s'
' room (with /join poezio@muc.poez.io), where you can'
' ask for help or tell us how great it is.', 'Help')
' room (with \x19b/join poezio@muc.poez.io\x19o), where you can'
' ask for help or tell us how great it is.\n\n'
'Note that all of your discussions are currently logged'
' to the disk, you can prevent that with'
' \x19b/set use_log false\x19o', 'Help')
self.refresh_window()
self.xmpp.plugin['xep_0012'].begin_idle(jid=self.xmpp.boundjid)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment