some auto-friending cleanups
This commit is contained in:
parent
1f921a51ae
commit
52acfce84b
@ -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 */
|
||||
|
||||
|
@ -21,7 +21,7 @@ function follow_init(&$a) {
|
||||
goaway($return_url);
|
||||
}
|
||||
|
||||
info( t('Channel added') . EOL);
|
||||
info( t('Channel added.') . EOL);
|
||||
|
||||
goaway(z_root() . '/connections/' . $result['abook']['abook_id']);
|
||||
|
||||
|
@ -349,6 +349,13 @@ footer {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.warning-text {
|
||||
width: auto;
|
||||
font-size: 1.2em;
|
||||
font-weight: bold;
|
||||
color: #ff0000;
|
||||
}
|
||||
|
||||
.preview {
|
||||
background: url('../img/gray_and_white_diagonal_stripes_background_seamless.gif');
|
||||
}
|
||||
|
@ -39,7 +39,7 @@
|
||||
<input id="contact-closeness-mirror" type="hidden" name="closeness" value="{{$close}}" />
|
||||
|
||||
{{if $noperms}}
|
||||
<div id="noperm-desc" class="descriptive-paragraph">{{$noperms}}</div>
|
||||
<div id="noperm-desc" class="warning-text">{{$noperms}}</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user