diff options
author | Kim Alvefur <zash@zash.se> | 2018-05-30 09:06:17 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-05-30 09:06:17 +0200 |
commit | 75b7e8f7542e0f84f979048b4210d1c55ef5a470 (patch) | |
tree | 6fbba8651651b97318a23800226659ac3fc19a8b /plugins/muc/mod_muc.lua | |
parent | 6ec6095d7765b7df36a10e665c62baf7fcded4cb (diff) | |
download | prosody-75b7e8f7542e0f84f979048b4210d1c55ef5a470.tar.gz prosody-75b7e8f7542e0f84f979048b4210d1c55ef5a470.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.lua | 4 |
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; |