add channel_id to local_dir_update hook

This commit is contained in:
redmatrix 2015-05-23 15:19:50 -07:00
parent 45259fed14
commit 11861949bb

View File

@ -431,7 +431,7 @@ function local_dir_update($uid, $force) {
);
}
$arr = array('hash' => $hash, 'profile' => $profile);
$arr = array('channel_id' => $uid, 'hash' => $hash, 'profile' => $profile);
call_hooks('local_dir_update', $arr);
$address = $p[0]['channel_address'] . '@' . get_app()->get_hostname();