mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 02:55:13 +00:00
tag completion - check xchan_hash as well as xchan_url and xchan_addr
This commit is contained in:
parent
027d9e211d
commit
b1524e69c7
1 changed files with 2 additions and 1 deletions
|
@ -2570,7 +2570,8 @@ function handle_tag(&$body, &$str_tags, $profile_uid, $tag, $in_network = true)
|
|||
$newname = substr($name,1);
|
||||
$newname = substr($newname,0,-1);
|
||||
|
||||
$r = q("select * from xchan where xchan_addr = '%s' or xchan_url = '%s'",
|
||||
$r = q("select * from xchan where xchan_addr = '%s' or xchan_hash = '%s' or xchan_url = '%s'",
|
||||
dbesc($newname),
|
||||
dbesc($newname),
|
||||
dbesc($newname)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue