plugins/mod_csi.lua
branch0.11
changeset 9655 989cf872d5c0
parent 9076 a5daf3f6d588
child 9657 91856829f18b
--- a/plugins/mod_csi.lua	Tue Nov 27 19:15:33 2018 +0100
+++ b/plugins/mod_csi.lua	Tue Nov 27 19:34:21 2018 +0100
@@ -11,6 +11,7 @@
 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