Diff

plugins/muc/mod_muc.lua @ 8833:9c90cd2fc4c3

MUC: Add support for setting a room language (closes #1149)
author Kim Alvefur <zash@zash.se>
date Wed, 30 May 2018 09:06:17 +0200
parent 8818:c96c00dc424b
child 8843:041ddc670934
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua	Tue May 29 04:24:43 2018 +0200
+++ b/plugins/muc/mod_muc.lua	Wed May 30 09:06:17 2018 +0200
@@ -33,6 +33,10 @@
 room_mt.get_description = description.get;
 room_mt.set_description = description.set;
 
+local language = module:require "muc/language";
+room_mt.get_language = language.get;
+room_mt.set_language = language.set;
+
 local hidden = module:require "muc/hidden";
 room_mt.get_hidden = hidden.get;
 room_mt.set_hidden = hidden.set;