aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/muc')
-rw-r--r--plugins/muc/muc.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index 08415758..9f9ae13a 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -172,7 +172,7 @@ function room_mt:broadcast_message(stanza)
end
-- Strip delay tags claiming to be from us
-module:hook("muc-broadcast-message", function (event)
+module:hook("muc-occupant-message", function (event)
local stanza = event.stanza;
local to = stanza.attr.to;
local room_jid = self.jid;