Switch the default use_log value to true
Since this is a privacy sensitive action, a short message is now displayed on first run.
This commit is contained in:
parent
40fc9246e5
commit
661fab8df0
4 changed files with 10 additions and 8 deletions
|
@ -251,7 +251,7 @@ use_bookmarks_method =
|
||||||
|
|
||||||
# set to 'true' if you want to save logs of all the messages
|
# set to 'true' if you want to save logs of all the messages
|
||||||
# in files.
|
# in files.
|
||||||
#use_log = false
|
#use_log = true
|
||||||
|
|
||||||
# The number of lines to preload in a chat buffer when it opens
|
# The number of lines to preload in a chat buffer when it opens
|
||||||
# (the lines are preloaded from the log files)
|
# (the lines are preloaded from the log files)
|
||||||
|
|
|
@ -907,10 +907,9 @@ Options related to logging.
|
||||||
|
|
||||||
use_log
|
use_log
|
||||||
|
|
||||||
**Default value:** ``false``
|
**Default value:** ``true``
|
||||||
|
|
||||||
Set to ``true`` if you want to save logs of all the messages
|
Set to ``false`` if you don’t want to write any message to the disk.
|
||||||
in files.
|
|
||||||
|
|
||||||
Plugins
|
Plugins
|
||||||
~~~~~~~
|
~~~~~~~
|
||||||
|
|
|
@ -137,7 +137,7 @@ DEFAULT_CONFIG = {
|
||||||
'themes_dir': '',
|
'themes_dir': '',
|
||||||
'tmp_image_dir': '',
|
'tmp_image_dir': '',
|
||||||
'use_bookmarks_method': '',
|
'use_bookmarks_method': '',
|
||||||
'use_log': False,
|
'use_log': True,
|
||||||
'use_remote_bookmarks': True,
|
'use_remote_bookmarks': True,
|
||||||
'user_list_sort': 'desc',
|
'user_list_sort': 'desc',
|
||||||
'use_tab_nicks': True,
|
'use_tab_nicks': True,
|
||||||
|
|
|
@ -526,10 +526,13 @@ class Core:
|
||||||
if firstrun:
|
if firstrun:
|
||||||
self.information(
|
self.information(
|
||||||
'It seems that it is the first time you start poezio.\n'
|
'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'
|
'No room is joined by default, but you can join poezio’s'
|
||||||
' room (with /join poezio@muc.poez.io), where you can'
|
' room (with \x19b/join poezio@muc.poez.io\x19o), where you can'
|
||||||
' ask for help or tell us how great it is.', 'Help')
|
' 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.refresh_window()
|
||||||
self.xmpp.plugin['xep_0012'].begin_idle(jid=self.xmpp.boundjid)
|
self.xmpp.plugin['xep_0012'].begin_idle(jid=self.xmpp.boundjid)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue