diff options
author | Matthew Wild <mwild1@gmail.com> | 2011-02-25 00:08:14 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2011-02-25 00:08:14 +0000 |
commit | ca57cb27dce917a53da05bd2bacd4f8c696a2c58 (patch) | |
tree | d37b2ddcf683ef93ed224123615f1391d1f3144b /plugins | |
parent | 8ae9243d61977b7bc100e734f7b1676b0b271341 (diff) | |
parent | 1370dd825c4e38407c67636ab6f947a722457444 (diff) | |
download | prosody-ca57cb27dce917a53da05bd2bacd4f8c696a2c58.tar.gz prosody-ca57cb27dce917a53da05bd2bacd4f8c696a2c58.zip |
Merge 0.8->trunk
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_pep.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua index 9ff6cac2..bd6f4b29 100644 --- a/plugins/mod_pep.lua +++ b/plugins/mod_pep.lua @@ -124,7 +124,7 @@ module:hook("presence/bare", function(event) local recipient = stanza.attr.from; local current = recipients[user] and recipients[user][recipient]; local hash = get_caps_hash_from_presence(stanza, current); - if current == hash then return; end + if current == hash or (current and current == hash_map[hash]) then return; end if not hash then if recipients[user] then recipients[user][recipient] = nil; end else |