diff mod_muc_occupant_id/mod_muc_occupant_id.lua @ 3775:d60efdb947fd

mod_web_push: Remove; 357 should be reused instead of this custom implementation
author Maxime “pep” Buquet <pep@bouah.net>
date Tue, 24 Dec 2019 14:22:27 +0100
parents 6a437d6eb69f
children f20a5d28910f
line wrap: on
line diff
--- a/mod_muc_occupant_id/mod_muc_occupant_id.lua	Mon Dec 23 23:01:44 2019 +0100
+++ b/mod_muc_occupant_id/mod_muc_occupant_id.lua	Tue Dec 24 14:22:27 2019 +0100
@@ -35,10 +35,6 @@
 local function handle_stanza(event)
 	local stanza, occupant = event.stanza, event.occupant;
 
-	if stanza.name == "presence" and stanza.attr.type == "unavailable" then -- not required here
-		return;
-	end
-
 	-- TODO: Handle MAM.
 
 	-- strip any existing <occupant-id/> tags to avoid forgery