Diff

mod_minimix/mod_minimix.lua @ 3120:b914ee44b49f

mod_minimix: Drop presence updates for now (may be treated as GC 1.0 joins)
author Kim Alvefur <zash@zash.se>
date Tue, 19 Jun 2018 18:57:14 +0200
parent 3119:f84a6ad72548
child 3122:c69f32c9c576
line wrap: on
line diff
--- a/mod_minimix/mod_minimix.lua	Tue Jun 19 18:56:57 2018 +0200
+++ b/mod_minimix/mod_minimix.lua	Tue Jun 19 18:57:14 2018 +0200
@@ -58,6 +58,8 @@
 		end
 		origin.send(st.reply(stanza));
 		return true;
+	elseif stanza.attr.type == nil and origin.joined_rooms and origin.joined_rooms[room_jid] then
+		return true; -- Supress these
 	end
 end);