aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit3976cc99593949d8070455b150533a5949b746a5 (patch)
treeb57e9dcabf5999d8dec7e465f305f987557b116f /plugins
parentac05108ed91a4c8a0e75b78ff35514352ec74313 (diff)
downloadprosody-3976cc99593949d8070455b150533a5949b746a5.tar.gz
prosody-3976cc99593949d8070455b150533a5949b746a5.zip
MUC: Check delay tags when they are received instead of when they are sent
Diffstat (limited to 'plugins')
-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;