- $pa[] = array('href' => $attn->profileurl,
- 'title' => $attn->getNickname(),
- 'class' => "addressee {$class}",
- 'text' => $attn->getStreamName());
+ $profileurl = $attn->getUri();
+ if (common_valid_http_url($profileurl)) {
+ $class .= ' u-uid';
+ } else {
+ $profileurl = $attn->getUrl();
+ }
+ $this->pa[] = array('href' => $profileurl,
+ 'title' => $attn->getNickname(),
+ 'class' => "addressee {$class} p-name u-url",
+ 'text' => $attn->getStreamName());