Browse Source

[privacy] use owner's default permission settings on "is now friends with..." msg

pull/1/head
Friendika 10 years ago
parent
commit
12bc4a44cf
2 changed files with 6 additions and 1 deletions
  1. +1
    -1
      boot.php
  2. +5
    -0
      mod/dfrn_confirm.php

+ 1
- 1
boot.php View File

@ -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 );


+ 5
- 0
mod/dfrn_confirm.php View 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");


Loading…
Cancel
Save