use local_user for tag completion if available. See bug #368

This commit is contained in:
friendica 2012-04-09 04:55:52 -07:00
parent c1e2596807
commit 92c20895e0

View file

@ -447,7 +447,7 @@ function item_post(&$a) {
if(count($tags)) {
foreach($tags as $tag) {
handle_tag($a, $body, $inform, $str_tags, $profile_uid, $tag);
handle_tag($a, $body, $inform, $str_tags, (local_user()) ? local_user() : $profile_uid , $tag);
}
}