diff -r 1888368c58c5 -r 3987078bb179 plugins/mod_presence.lua --- 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