plugins/mod_presence.lua

changeset 2228
3987078bb179
parent 2143
13ac68e8760b
child 2229
3b38ec879076
--- a/plugins/mod_presence.lua	Thu Nov 26 12:57:24 2009 +0500
+++ b/plugins/mod_presence.lua	Thu Nov 26 13:00:11 2009 +0500
@@ -200,9 +200,6 @@
 			rostermanager.roster_push(node, host, to_bare);
 		end
 		core_route_stanza(origin, stanza);
-		-- COMPAT: Some legacy clients keep displaying unsubscribed contacts as online unless an unavailable presence is sent:
-		send_presence_of_available_resources(node, host, to_bare, origin, core_route_stanza,
-			st.presence({ type="unavailable", from=from_bare, to=to_bare, id=stanza.attr.id }));
 	end
 	stanza.attr.from, stanza.attr.to = st_from, st_to;
 end

mercurial