xep-0308: create setting to toggle lmc

and print settings if only `/correction` is run.
This commit is contained in:
Michael Vetter
2020-02-10 14:52:42 +01:00
parent c2d70a071f
commit dd8086772d
7 changed files with 27 additions and 11 deletions

View File

@@ -1065,7 +1065,7 @@ win_correct_incoming(ProfWin *window, const char *const message, const char *con
return;
}
/*
/*TODO: set date?
if (entry->date) {
if (entry->date->timestamp) {
g_date_time_unref(entry->date->timestamp);
@@ -1076,9 +1076,7 @@ win_correct_incoming(ProfWin *window, const char *const message, const char *con
entry->date = buffer_date_new_now();
*/
// TODO: setting
//entry->show_char = prefs_get_correction_char();
entry->show_char = '+';
entry->show_char = prefs_get_correction_char();
if (entry->message) {
free(entry->message);