changeset 1871 | 34468d3bfcac |
parent 1504 | b8164f18142a |
child 1929 | 552faee596b7 |
--- a/mod_throttle_presence/mod_throttle_presence.lua Mon Sep 21 23:44:55 2015 +0200 +++ b/mod_throttle_presence/mod_throttle_presence.lua Mon Sep 21 23:45:45 2015 +0200 @@ -4,6 +4,9 @@ module:depends("csi"); local function presence_filter(stanza, session) + if getmetatable(stanza) ~= st.stanza_mt then + return stanza; -- Things we don't want to touch + end if stanza._flush then stanza._flush = nil; return stanza;