Comparison

plugins/mod_muc_mam.lua @ 13267:7ae000fc8c07 0.12

mod_muc_mam: Improve wording of enable setting Suggested by jstein in the chat This option label is used by XMPP clients to explain what the option does. a) The user should know where the data is archived. b) The user needs a statement that can be enabled/disabled by the variable. A question would have the wrong logic here.
author Kim Alvefur <zash@zash.se>
date Sun, 15 Oct 2023 14:43:11 +0200
parent 12859:cd738fb8c754
child 13268:081f8f9b3b81
comparison
equal deleted inserted replaced
13257:e11644485902 13267:7ae000fc8c07
88 local room, form = event.room, event.form; 88 local room, form = event.room, event.form;
89 table.insert(form, 89 table.insert(form,
90 { 90 {
91 name = muc_form_enable, 91 name = muc_form_enable,
92 type = "boolean", 92 type = "boolean",
93 label = "Enable archiving?", 93 label = "Archive chat on server",
94 value = archiving_enabled(room), 94 value = archiving_enabled(room),
95 } 95 }
96 ); 96 );
97 end); 97 end);
98 98