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),
|
dbesc($xchan_hash),
|
||||||
intval($uid)
|
intval($uid)
|
||||||
);
|
);
|
||||||
if($r)
|
if($r) {
|
||||||
$result['abook'] = $r[0];
|
$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 */
|
/** 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);
|
goaway($return_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
info( t('Channel added') . EOL);
|
info( t('Channel added.') . EOL);
|
||||||
|
|
||||||
goaway(z_root() . '/connections/' . $result['abook']['abook_id']);
|
goaway(z_root() . '/connections/' . $result['abook']['abook_id']);
|
||||||
|
|
||||||
|
@ -349,6 +349,13 @@ footer {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.warning-text {
|
||||||
|
width: auto;
|
||||||
|
font-size: 1.2em;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #ff0000;
|
||||||
|
}
|
||||||
|
|
||||||
.preview {
|
.preview {
|
||||||
background: url('../img/gray_and_white_diagonal_stripes_background_seamless.gif');
|
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}}" />
|
<input id="contact-closeness-mirror" type="hidden" name="closeness" value="{{$close}}" />
|
||||||
|
|
||||||
{{if $noperms}}
|
{{if $noperms}}
|
||||||
<div id="noperm-desc" class="descriptive-paragraph">{{$noperms}}</div>
|
<div id="noperm-desc" class="warning-text">{{$noperms}}</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user