aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/mod_muc.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-05-30 09:06:17 +0200
committerKim Alvefur <zash@zash.se>2018-05-30 09:06:17 +0200
commitc5a2a6eda354b5eedd8e437bb334df1c15de48e7 (patch)
tree6fbba8651651b97318a23800226659ac3fc19a8b /plugins/muc/mod_muc.lua
parente138e9ce1cc547fb98e741a2ec94bcc01ca1a34f (diff)
downloadprosody-c5a2a6eda354b5eedd8e437bb334df1c15de48e7.tar.gz
prosody-c5a2a6eda354b5eedd8e437bb334df1c15de48e7.zip
MUC: Add support for setting a room language (closes #1149)
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r--plugins/muc/mod_muc.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index 10de8c95..fd240193 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -33,6 +33,10 @@ local description = module:require "muc/description";
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;