Changeset

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
parents 3119:f84a6ad72548
children 3121:92b4a1d72d73
files mod_minimix/mod_minimix.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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);