aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/mod_muc.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-04-28 22:57:53 +0200
committerKim Alvefur <zash@zash.se>2016-04-28 22:57:53 +0200
commit8bb9e615d5841b84fcbab596363931ee7e089af1 (patch)
tree9c8c747c7cb54e24dc05e11dc1cd7046eb434a6b /plugins/muc/mod_muc.lua
parentc18892c9aaa0e15bc245325c32264a9e3b66457b (diff)
downloadprosody-8bb9e615d5841b84fcbab596363931ee7e089af1.tar.gz
prosody-8bb9e615d5841b84fcbab596363931ee7e089af1.zip
MUC: Add event for when room is done being created
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r--plugins/muc/mod_muc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index 65782338..c50567e9 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -210,7 +210,7 @@ module:hook("host-disco-items", function(event)
end
end);
-module:hook("muc-room-pre-create", function(event)
+module:hook("muc-room-created", function(event)
track_room(event.room);
end, -1000);