Mercurial > prosody-hg
diff plugins/mod_pep.lua @ 5805:11b6157ee274
Merge 0.9->trunk
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sat, 24 Aug 2013 23:16:08 +0100 |
| parents | bd0ff8ae98a8 bb27ba619932 |
| children | 2f709bc35575 |
line wrap: on
line diff
--- a/plugins/mod_pep.lua Wed Aug 14 15:38:56 2013 +0200 +++ b/plugins/mod_pep.lua Sat Aug 24 23:16:08 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")
