aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dfrn_confirm.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-10 15:30:56 -0700
committerFriendika <info@friendika.com>2011-04-10 15:30:56 -0700
commit12bc4a44cf051dda665fc4fa43624c47484b1864 (patch)
tree41b8a8ae155d9c1ef10815fd6e870b62d1fef3c2 /mod/dfrn_confirm.php
parentc12927042ec9bfdc63cbc0bdd330402741991843 (diff)
downloadvolse-hubzilla-12bc4a44cf051dda665fc4fa43624c47484b1864.tar.gz
volse-hubzilla-12bc4a44cf051dda665fc4fa43624c47484b1864.tar.bz2
volse-hubzilla-12bc4a44cf051dda665fc4fa43624c47484b1864.zip
[privacy] use owner's default permission settings on "is now friends with..." msg
Diffstat (limited to 'mod/dfrn_confirm.php')
-rw-r--r--mod/dfrn_confirm.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php
index 2db745d25..02437ec36 100644
--- a/mod/dfrn_confirm.php
+++ b/mod/dfrn_confirm.php
@@ -434,6 +434,11 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
$arr['object'] .= '</link></object>' . "\n";
$arr['last-child'] = 1;
+ $arr['allow_cid'] = $user[0]['allow_cid'];
+ $arr['allow_gid'] = $user[0]['allow_gid'];
+ $arr['deny_cid'] = $user[0]['deny_cid'];
+ $arr['deny_gid'] = $user[0]['deny_gid'];
+
$i = item_store($arr);
if($i)
proc_run('php',"include/notifier.php","activity","$i");