diff options
author | Friendika <info@friendika.com> | 2011-04-10 15:30:56 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-10 15:30:56 -0700 |
commit | 12bc4a44cf051dda665fc4fa43624c47484b1864 (patch) | |
tree | 41b8a8ae155d9c1ef10815fd6e870b62d1fef3c2 | |
parent | c12927042ec9bfdc63cbc0bdd330402741991843 (diff) | |
download | volse-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
-rw-r--r-- | boot.php | 2 | ||||
-rw-r--r-- | mod/dfrn_confirm.php | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -2,7 +2,7 @@ set_time_limit(0); -define ( 'FRIENDIKA_VERSION', '2.1.944' ); +define ( 'FRIENDIKA_VERSION', '2.1.945' ); define ( 'DFRN_PROTOCOL_VERSION', '2.2' ); define ( 'DB_UPDATE_VERSION', 1047 ); 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"); |