diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-01-29 21:08:18 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-01-29 21:08:18 +0500 |
commit | 927e5d1974eba1e152bbe5de9796b3343b7a40fb (patch) | |
tree | 972a680ed1572208455c8f54b6f8858925cec529 /plugins | |
parent | 90a52d44b331710ce10e520e6d3aba7f49d0a137 (diff) | |
download | prosody-927e5d1974eba1e152bbe5de9796b3343b7a40fb.tar.gz prosody-927e5d1974eba1e152bbe5de9796b3343b7a40fb.zip |
mod_presence: Quick fix to make probes from local users to local hosts work.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_presence.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_presence.lua b/plugins/mod_presence.lua index ec983fc2..c28dd338 100644 --- a/plugins/mod_presence.lua +++ b/plugins/mod_presence.lua @@ -76,6 +76,7 @@ function handle_normal_presence(origin, stanza, core_route_stanza) end end if stanza.attr.type == nil and not origin.presence then -- initial presence + origin.presence = stanza; -- FIXME repeated later local probe = st.presence({from = origin.full_jid, type = "probe"}); for jid, item in pairs(roster) do -- probe all contacts we are subscribed to if item.subscription == "both" or item.subscription == "to" then |