diff options
author | Kim Alvefur <zash@zash.se> | 2018-11-27 19:34:21 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-11-27 19:34:21 +0100 |
commit | 3d30bbe912591f39288e384e446e82c6f409ba48 (patch) | |
tree | 643410f6ef6d623a8c1eb87e656d3ed2ac5a4d0d /plugins/mod_csi.lua | |
parent | 105b5fed06a6f9ebbb46e60201c78fc3fbf1e8c5 (diff) | |
download | prosody-3d30bbe912591f39288e384e446e82c6f409ba48.tar.gz prosody-3d30bbe912591f39288e384e446e82c6f409ba48.zip |
mod_csi: Set session.state to simplify CSI modules
Moved here from mod_csi_simple
Diffstat (limited to 'plugins/mod_csi.lua')
-rw-r--r-- | plugins/mod_csi.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_csi.lua b/plugins/mod_csi.lua index 03f052b7..7f50dfd9 100644 --- a/plugins/mod_csi.lua +++ b/plugins/mod_csi.lua @@ -11,6 +11,7 @@ end); function refire_event(name) return function (event) if event.origin.username then + session.state = event.stanza.name; module:fire_event(name, event); return true; end |