Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
8832:a9c3b15b9d37 | 8833:9c90cd2fc4c3 |
---|---|
30 room_mt.set_name = name.set; | 30 room_mt.set_name = name.set; |
31 | 31 |
32 local description = module:require "muc/description"; | 32 local description = module:require "muc/description"; |
33 room_mt.get_description = description.get; | 33 room_mt.get_description = description.get; |
34 room_mt.set_description = description.set; | 34 room_mt.set_description = description.set; |
35 | |
36 local language = module:require "muc/language"; | |
37 room_mt.get_language = language.get; | |
38 room_mt.set_language = language.set; | |
35 | 39 |
36 local hidden = module:require "muc/hidden"; | 40 local hidden = module:require "muc/hidden"; |
37 room_mt.get_hidden = hidden.get; | 41 room_mt.get_hidden = hidden.get; |
38 room_mt.set_hidden = hidden.set; | 42 room_mt.set_hidden = hidden.set; |
39 function room_mt:get_public() | 43 function room_mt:get_public() |