diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-08-07 11:32:47 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-08-07 11:32:47 +0100 |
commit | 9a336a6d926095cdf9f7beefca6208c75405f807 (patch) | |
tree | 4dd7ba7fc05111ea023ba56643329552dd369dfb /plugins | |
parent | 1bf0d29c4ddeaad3d9e7c121fe1bb7666fa6c551 (diff) | |
parent | 158acca7044a7d141c7a2fded034d4d084b75017 (diff) | |
download | prosody-9a336a6d926095cdf9f7beefca6208c75405f807.tar.gz prosody-9a336a6d926095cdf9f7beefca6208c75405f807.zip |
Merge with 0.5
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_presence.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_presence.lua b/plugins/mod_presence.lua index 02ec6f79..f78a5950 100644 --- a/plugins/mod_presence.lua +++ b/plugins/mod_presence.lua @@ -165,7 +165,7 @@ end function handle_outbound_presence_subscriptions_and_probes(origin, stanza, from_bare, to_bare, core_route_stanza) local node, host = jid_split(from_bare); - if node == origin.username and host == origin.host then return; end -- No self contacts + if to_bare == origin.username.."@"..origin.host then return; end -- No self contacts local st_from, st_to = stanza.attr.from, stanza.attr.to; stanza.attr.from, stanza.attr.to = from_bare, to_bare; log("debug", "outbound presence "..stanza.attr.type.." from "..from_bare.." for "..to_bare); |