mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 08:35:14 +00:00
make mention tagging by webbie do the right thing.
This commit is contained in:
parent
b12e40a4e8
commit
5dab65d783
1 changed files with 1 additions and 1 deletions
|
@ -1102,7 +1102,7 @@ function handle_tag($a, &$body, &$access_tag, &$str_tags, $profile_uid, $tag) {
|
|||
//select someone by attag or nick and the name passed in
|
||||
$r = q("SELECT * FROM abook left join xchan on abook_xchan = xchan_hash
|
||||
WHERE xchan_addr like ('%s') AND abook_channel = %d LIMIT 1",
|
||||
dbesc($newname . '@%'),
|
||||
dbesc(((strpos($newname,'@')) ? $newname : $newname . '@%')),
|
||||
intval($profile_uid)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue