Software /
code /
prosody
Changeset
1150:d71a8f28f18b
mod_presence: Added a FIXME comment about directed presence
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Fri, 15 May 2009 06:34:42 +0500 |
parents | 1149:72fc323050c1 |
children | 1151:8096941b6734 |
files | plugins/mod_presence.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_presence.lua Fri May 15 06:34:08 2009 +0500 +++ b/plugins/mod_presence.lua Fri May 15 06:34:42 2009 +0500 @@ -252,7 +252,7 @@ if origin.type == "c2s" then if to ~= nil and not(origin.roster[to_bare] and (origin.roster[to_bare].subscription == "both" or origin.roster[to_bare].subscription == "from")) then -- directed presence origin.directed = origin.directed or {}; - origin.directed[to] = true; + origin.directed[to] = true; -- FIXME does it make more sense to add to_bare rather than to? end if stanza.attr.type ~= nil and stanza.attr.type ~= "unavailable" and stanza.attr.type ~= "error" then handle_outbound_presence_subscriptions_and_probes(origin, stanza, from_bare, to_bare, core_route_stanza);