Changeset

3395:eaf0b1e95016

mod_csi: Backport 989cf872d5c0 from Prosody 0.11 to preserve compatibility
author Matthew Wild <mwild1@gmail.com>
date Wed, 05 Dec 2018 14:12:00 +0000
parents 3394:4fe7eee926ce
children 3396:3bf847dbb063
files mod_csi/mod_csi.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_csi/mod_csi.lua	Sat Dec 01 17:52:17 2018 +0100
+++ b/mod_csi/mod_csi.lua	Wed Dec 05 14:12:00 2018 +0000
@@ -11,6 +11,7 @@
 function refire_event(name)
 	return function (event)
 		if event.origin.username then
+			event.origin.state = event.stanza.name;
 			module:fire_event(name, event);
 			return true;
 		end