diff mod_filter_chatstates/mod_filter_chatstates.lua @ 1868:d6e673f98572

mod_filter_chatstates: Revert filter-to-nothing hack
author Kim Alvefur <zash@zash.se>
date Mon, 21 Sep 2015 23:47:37 +0200
parents 58d96960ba8b
children
line wrap: on
line diff
--- a/mod_filter_chatstates/mod_filter_chatstates.lua	Mon Sep 21 23:45:45 2015 +0200
+++ b/mod_filter_chatstates/mod_filter_chatstates.lua	Mon Sep 21 23:47:37 2015 +0200
@@ -14,7 +14,7 @@
 		stanza = st.clone(stanza);
 		stanza:maptags(chatstate_tag_filter);
 		if #stanza.tags == 0 then
-			return "";
+			return nil;
 		end
 	end
 	return stanza;