aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDM42.Net (Matt Dent) <dentm42@dm42.net>2019-03-01 15:50:10 +0000
committerMario <mario@mariovavti.com>2019-03-02 15:37:22 +0100
commite37c9ed0a1b75cbb74a5f5c01f5ce89bcc96a56f (patch)
tree1f2f4e526bf68c282def7877b7144bc915d4d99b
parentaa6a31eba5122a5497b3ff80f0dd4a9d5ba90d23 (diff)
downloadvolse-hubzilla-e37c9ed0a1b75cbb74a5f5c01f5ce89bcc96a56f.tar.gz
volse-hubzilla-e37c9ed0a1b75cbb74a5f5c01f5ce89bcc96a56f.tar.bz2
volse-hubzilla-e37c9ed0a1b75cbb74a5f5c01f5ce89bcc96a56f.zip
Use sender hash
(cherry picked from commit 5febc3e07dd1c1aeda68c09b4092d5d4219f39b5)
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 3b089831b..c9c01103c 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1840,7 +1840,7 @@ function process_delivery($sender, $arr, $deliveries, $relay, $public = false, $
intval($channel['channel_id'])
);
if ($parent) {
- $allowed = can_comment_on_post($d['hash'],$parent[0]);
+ $allowed = can_comment_on_post($sender['hash'],$parent[0]);
}
}