]> git.mxchange.org Git - friendica.git/commitdiff
[privacy] use owner's default permission settings on "is now friends with..." msg
authorFriendika <info@friendika.com>
Sun, 10 Apr 2011 22:30:56 +0000 (15:30 -0700)
committerFriendika <info@friendika.com>
Sun, 10 Apr 2011 22:30:56 +0000 (15:30 -0700)
boot.php
mod/dfrn_confirm.php

index 3331c98671453263d690db4d59f653ea49a8b6e5..75f031908eacd6f54f0a3541f2758f2abd5f41cb 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -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   );
 
index 2db745d25eceb89bc37148a2e4b4d60d8f8b3832..02437ec36517919948f2a77d213f27a956a79f20 100644 (file)
@@ -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");