aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-02 21:04:48 -0700
committerfriendica <info@friendica.com>2013-10-02 21:04:48 -0700
commit78a8d176acae142cac9d20315672772eccd6c683 (patch)
tree4aa6253a7410b097353a5ef47bcd90f88f733212 /include/zot.php
parent8ce09e84c6282fbc0d5206f10c87baf8a0763a9d (diff)
downloadvolse-hubzilla-78a8d176acae142cac9d20315672772eccd6c683.tar.gz
volse-hubzilla-78a8d176acae142cac9d20315672772eccd6c683.tar.bz2
volse-hubzilla-78a8d176acae142cac9d20315672772eccd6c683.zip
post signatures
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/zot.php b/include/zot.php
index 945ea0cf9..8df57bb51 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1327,6 +1327,14 @@ function process_mail_delivery($sender,$arr,$deliveries) {
$result = array();
+
+
+ if($sender['hash'] != $arr['from_xchan']) {
+ logger('process_mail_delivery: sender is not mail author');
+ return;
+ }
+
+
foreach($deliveries as $d) {
$r = q("select * from channel where channel_hash = '%s' limit 1",