changeset 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
parents ef8fe8bec5b1
children 4e8b5ea7f4c2
files mod_muc_lang/mod_muc_lang.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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,