aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2014-09-05 12:16:53 -0400
committerdaurnimator <quae@daurnimator.com>2014-09-05 12:16:53 -0400
commit1e987242449ef303547f9df10b99d4313e21e3be (patch)
tree9dc607fa464c87a22f8e3e929b6e06f3324140f3 /plugins/muc/muc.lib.lua
parent8728ee5e5a3925588e5502a87a3466ec8eebc44a (diff)
downloadprosody-1e987242449ef303547f9df10b99d4313e21e3be.tar.gz
prosody-1e987242449ef303547f9df10b99d4313e21e3be.zip
plugins/muc: Add affiliation_notify config option to send out status code 101
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-rw-r--r--plugins/muc/muc.lib.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index 4e461df6..3dd21303 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -1111,6 +1111,8 @@ function room_mt:set_role(actor, occupant_jid, role, reason)
return true;
end
+local affiliation_notify = module:require "muc/affiliation_notify";
+
local name = module:require "muc/name";
room_mt.get_name = name.get;
room_mt.set_name = name.set;