mail completion issue
This commit is contained in:
parent
9b8e3e41f1
commit
8aadb9ec3c
@ -61,7 +61,7 @@ function acl_init(&$a){
|
|||||||
// autocomplete for Private Messages
|
// autocomplete for Private Messages
|
||||||
|
|
||||||
|
|
||||||
$r = q("SELECT count xchan_hash as c
|
$r = q("SELECT count(xchan_hash) as c
|
||||||
FROM abook left join xchan on abook_xchan = xchan_hash
|
FROM abook left join xchan on abook_xchan = xchan_hash
|
||||||
WHERE abook_channel = %d and ( (abook_their_perms = null) or (abook_their_perms & %d ))
|
WHERE abook_channel = %d and ( (abook_their_perms = null) or (abook_their_perms & %d ))
|
||||||
$sql_extra2 ",
|
$sql_extra2 ",
|
||||||
|
@ -48,7 +48,7 @@ function message_post(&$a) {
|
|||||||
|
|
||||||
$ret = zot_finger($rstr,$channel);
|
$ret = zot_finger($rstr,$channel);
|
||||||
|
|
||||||
if(! $ret) {
|
if(! $ret['success']) {
|
||||||
notice( t('Unable to lookup recipient.') . EOL);
|
notice( t('Unable to lookup recipient.') . EOL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user