- console: drop orphaned `/logging chat` reference from
cons_privacy_setting() — the subcommand was removed, PREF_CHLOG now
tracks PREF_HISTORY implicitly
- console: delete cons_logging_setting() and remove its call from
cons_show_log_prefs() — every line in it referenced /logging chat or
/logging group, both now invalid after the deprecation below
- command: deprecate /logging command. It now prints a single notice
pointing to /history; CMD_PREAMBLE trimmed (min_args=0, no
setting_func, syntax/args/examples dropped); subcommand 'group'
removed from autocomplete
The SQLite history-load gap for /correction off is split out into a
follow-up — out of scope for this PR.
Implements all open items from the nodb backlog:
statusbar
- PREF_STATUSBAR_SHOW_DBBACKEND (default ON) gates the [sqlite] /
[flatfile] indicator; toggle via "/statusbar show|hide dbbackend"
/history off|on
- "/history off" now stops persistence as well as hiding history on
open: sets PREF_DBLOG=off + PREF_CHLOG=false in addition to
PREF_HISTORY=false
- "/history on" restores persistence (re-enabling PREF_DBLOG=on if
it was off) and PREF_CHLOG, in addition to PREF_HISTORY=true
/logging
- Removed the "/logging chat on|off" subcommand — chat-log
persistence is now controlled exclusively by /history; the
command kept only "/logging group on|off" for MUC logs
- All "use '/logging chat on' to enable" hints replaced with
"/history on"
/privacy logging
- Single-pass validation across {on, off, redact, flatfile}
- Backend-switching values (on, flatfile) now take effect
immediately when connected (via log_database_switch_backend),
matching "/history switch" behaviour; off/redact only flip
pref bits and keep the live backend open
- Updated help text to reflect runtime switching
/correction off
- win_print_outgoing and win_print_outgoing_with_receipt now gate
_win_correct on PREF_CORRECTION_ALLOW, matching incoming-msg
paths. Previously a peer's correction reflected via XEP-0280
carbons (or the user's own /correct invocation) was applied
in-buffer regardless of the pref
style
- Two local g_strndup allocations in database_flatfile.c switched
from char* with manual g_free to auto_gchar gchar*