Diff

plugins/mod_csi.lua @ 9652:a58b48268ecd

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Tue, 27 Nov 2018 21:18:19 +0100
parent 9651:989cf872d5c0
child 9653:91856829f18b
line wrap: on
line diff
--- a/plugins/mod_csi.lua	Tue Nov 27 17:01:47 2018 +0100
+++ b/plugins/mod_csi.lua	Tue Nov 27 21:18:19 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