Software /
code /
prosody
Changeset
8482:8b2219011386
MUC: Check delay tags when they are received instead of when they are sent
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 21 Dec 2017 13:48:21 +0100 |
parents | 8481:d546815e555e |
children | 8483:6d47b74926dd |
files | plugins/muc/muc.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua Thu Dec 21 13:38:59 2017 +0100 +++ b/plugins/muc/muc.lib.lua Thu Dec 21 13:48:21 2017 +0100 @@ -172,7 +172,7 @@ 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;