Software /
code /
prosody
Changeset
2844:0e4f6df8b2a3
mod_presence: Quick fix to make probes from local users to local hosts work.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Fri, 29 Jan 2010 21:08:18 +0500 |
parents | 2843:621f71d7ba2b |
children | 2845:f76139aa7cd5 |
files | plugins/mod_presence.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_presence.lua Fri Jan 29 21:06:51 2010 +0500 +++ b/plugins/mod_presence.lua Fri Jan 29 21:08:18 2010 +0500 @@ -76,6 +76,7 @@ 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