X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=plugins%2Fmod_pep.lua;h=752cd28c414f019d2fb09701da6711fc61789dc7;hb=73e841ddd082009e3f19502b207231bbddfa0dbb;hp=04f7022101be9300a1e9c388dc5789a586ae2dc9;hpb=f12247a65f9b2a14e998c88df28cf2bc452d358e;p=prosody.git diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua index 04f70221..752cd28c 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")