add reporting site to delivery report

This commit is contained in:
redmatrix
2015-09-18 22:00:33 -07:00
parent 1a16822987
commit 43251ed8ce
3 changed files with 7 additions and 1 deletions

View File

@@ -14,6 +14,9 @@ function gprobe_run($argv, $argc){
$url = hex2bin($argv[1]);
if(! strpos($url,'@'))
return;
$r = q("select * from xchan where xchan_addr = '%s' limit 1",
dbesc($url)
);

View File

@@ -1531,6 +1531,8 @@ function process_delivery($sender, $arr, $deliveries, $relay, $public = false, $
$result = array();
$result['site'] = z_root();
// We've validated the sender. Now make sure that the sender is the owner or author
if(! $public) {