projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37396e2
)
mod_presence: Removed an unnecessary compatibility workaround which was causing issue...
author
Waqas Hussain
<waqas20@gmail.com>
Thu, 26 Nov 2009 08:00:11 +0000
(13:00 +0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Thu, 26 Nov 2009 08:00:11 +0000
(13:00 +0500)
plugins/mod_presence.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_presence.lua
b/plugins/mod_presence.lua
index cda8dab0db40b3ff5fdd7ff6cee49bf623de93e6..939df6b8473d3a461b77535cbf1111e1e3436ec6 100644
(file)
--- 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