aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-02 20:54:20 -0800
committerfriendica <info@friendica.com>2012-12-02 20:54:20 -0800
commit7b4a92146fd905c4fdecd800f07e81dabeeb6962 (patch)
tree368c2d45e75ead32f4986a9cf93e6e3c33dd5b93 /include/zot.php
parentc38ec1ab4835d436eb3d77f3fd99f3147a123326 (diff)
downloadvolse-hubzilla-7b4a92146fd905c4fdecd800f07e81dabeeb6962.tar.gz
volse-hubzilla-7b4a92146fd905c4fdecd800f07e81dabeeb6962.tar.bz2
volse-hubzilla-7b4a92146fd905c4fdecd800f07e81dabeeb6962.zip
local delivery
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/zot.php b/include/zot.php
index 0aaea7188..20752a291 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -703,15 +703,16 @@ function zot_import($arr) {
logger('Activity received: ' . print_r($arr,true));
logger('Activity recipients: ' . print_r($deliveries,true));
-dbg(1);
+
$relay = ((array_key_exists('flags',$i['message']) && in_array('relay',$i['message']['flags'])) ? true : false);
process_delivery($i['notify']['sender'],$arr,$deliveries,$relay);
-dbg(0);
+
}
elseif($i['message']['type'] === 'mail') {
}
}
+
}
}
}