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 | 581ec343799c8c851f490857fc02a9339926b9be (patch) | |
tree | b57e9dcabf5999d8dec7e465f305f987557b116f /plugins | |
parent | e17cfd568a5f0d2fa4021cf2ab651cfcd0571a18 (diff) | |
download | prosody-581ec343799c8c851f490857fc02a9339926b9be.tar.gz prosody-581ec343799c8c851f490857fc02a9339926b9be.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.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; |