some auto-friending cleanups
This commit is contained in:
@@ -164,8 +164,10 @@ function new_contact($uid,$url,$channel,$interactive = false) {
|
||||
dbesc($xchan_hash),
|
||||
intval($uid)
|
||||
);
|
||||
if($r)
|
||||
if($r) {
|
||||
$result['abook'] = $r[0];
|
||||
proc_run('php', 'include/notifier.php', 'permission_update', $result['abook']['abook_id']);
|
||||
}
|
||||
|
||||
/** If there is a default group for this channel, add this member to it */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user