Diff

mod_muc_lang/mod_muc_lang.lua @ 3074:57396a32fc05

mod_muc_lang: Fix to use correct field name in disco#info
author Kim Alvefur <zash@zash.se>
date Wed, 30 May 2018 09:29:09 +0200
parent 3073:ef8fe8bec5b1
child 3076:091b042cada0
line wrap: on
line diff
--- a/mod_muc_lang/mod_muc_lang.lua	Wed May 30 09:28:38 2018 +0200
+++ b/mod_muc_lang/mod_muc_lang.lua	Wed May 30 09:29:09 2018 +0200
@@ -26,7 +26,7 @@
 	local room, form, formdata = event.room, event.form, event.formdata;
 
 	table.insert(form, {
-		name = "muc#roomconfig_lang",
+		name = "muc#roominfo_lang",
 		type = "text-single",
 		label = "Natural Language for Room Discussions",
 		value = room._data.language,