# HG changeset patch # User Matthew Wild # Date 1377382524 -3600 # Node ID bb27ba619932d3af5dcf22a042d7b033d868a39e # Parent 953942f4d737f875bd75d1335139880b5a609a0a mod_pep: Update COMPAT comment, it seems Asterisk 1.8 also suffers from this issue (thanks Lonnie Abelbeck) diff -r 953942f4d737 -r bb27ba619932 plugins/mod_pep.lua --- a/plugins/mod_pep.lua Mon Aug 19 20:36:04 2013 +0100 +++ b/plugins/mod_pep.lua Sat Aug 24 23:15:24 2013 +0100 @@ -135,7 +135,7 @@ 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")