aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-12-21 13:48:21 +0100
committerKim Alvefur <zash@zash.se>2017-12-21 13:48:21 +0100
commit581ec343799c8c851f490857fc02a9339926b9be (patch)
treeb57e9dcabf5999d8dec7e465f305f987557b116f /plugins/muc/muc.lib.lua
parente17cfd568a5f0d2fa4021cf2ab651cfcd0571a18 (diff)
downloadprosody-581ec343799c8c851f490857fc02a9339926b9be.tar.gz
prosody-581ec343799c8c851f490857fc02a9339926b9be.zip
MUC: Check delay tags when they are received instead of when they are sent
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-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;