diff options
author | Kim Alvefur <zash@zash.se> | 2017-12-21 13:48:21 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-12-21 13:48:21 +0100 |
commit | 3976cc99593949d8070455b150533a5949b746a5 (patch) | |
tree | b57e9dcabf5999d8dec7e465f305f987557b116f /plugins/muc/muc.lib.lua | |
parent | ac05108ed91a4c8a0e75b78ff35514352ec74313 (diff) | |
download | prosody-3976cc99593949d8070455b150533a5949b746a5.tar.gz prosody-3976cc99593949d8070455b150533a5949b746a5.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.lua | 2 |
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; |