diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-08-24 23:15:24 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-08-24 23:15:24 +0100 |
commit | 9c72583d71bdb11a6edc42cba583756385eafef3 (patch) | |
tree | b945cb8f54ad7816c501b4ba6106a286e66c77ed /plugins/mod_pep.lua | |
parent | 4a7245fd0bcd682146c7a9eaddc6e7c0b8c04d02 (diff) | |
download | prosody-9c72583d71bdb11a6edc42cba583756385eafef3.tar.gz prosody-9c72583d71bdb11a6edc42cba583756385eafef3.zip |
mod_pep: Update COMPAT comment, it seems Asterisk 1.8 also suffers from this issue (thanks Lonnie Abelbeck)
Diffstat (limited to 'plugins/mod_pep.lua')
-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 e88bfd9f..bdb742e3 100644 --- a/plugins/mod_pep.lua +++ b/plugins/mod_pep.lua @@ -135,7 +135,7 @@ module:hook("presence/bare", function(event) recipients[user][recipient] = hash; local from_bare = origin.type == "c2s" and origin.username.."@"..origin.host; if self or origin.type ~= "c2s" or (recipients[from_bare] and recipients[from_bare][origin.full_jid]) ~= hash then - -- COMPAT from ~= stanza.attr.to because OneTeam can't deal with missing from attribute + -- COMPAT from ~= stanza.attr.to because OneTeam and Asterisk 1.8 can't deal with missing from attribute origin.send( st.stanza("iq", {from=user, to=stanza.attr.from, id="disco", type="get"}) :query("http://jabber.org/protocol/disco#info") |