diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-11-26 13:00:11 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-11-26 13:00:11 +0500 |
commit | cfce018b808e0978ab6d573ef09a4a9d4ec0eddd (patch) | |
tree | 0505ffa1dc507f3d44199ce04148d980c82ac232 /plugins | |
parent | a3c705d9eee18ba2a0b6145e1b417386fd9b32d6 (diff) | |
download | prosody-cfce018b808e0978ab6d573ef09a4a9d4ec0eddd.tar.gz prosody-cfce018b808e0978ab6d573ef09a4a9d4ec0eddd.zip |
mod_presence: Removed an unnecessary compatibility workaround which was causing issues with unavailable presence exchange after subscription removal.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_presence.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/mod_presence.lua b/plugins/mod_presence.lua index cda8dab0..939df6b8 100644 --- a/plugins/mod_presence.lua +++ b/plugins/mod_presence.lua @@ -200,9 +200,6 @@ function handle_outbound_presence_subscriptions_and_probes(origin, stanza, from_ 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 |