mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:55:19 +00:00
yet one more place to use chanlink_hash() instead of chanlink_url()
This commit is contained in:
parent
5012baba15
commit
3d0c6700db
1 changed files with 2 additions and 2 deletions
|
@ -1175,8 +1175,8 @@ function builtin_activity_puller($item, &$conv_responses) {
|
|||
|
||||
if((activity_match($item['verb'], $verb)) && ($item['id'] != $item['parent'])) {
|
||||
$name = (($item['author']['xchan_name']) ? $item['author']['xchan_name'] : t('Unknown'));
|
||||
$url = (($item['author']['xchan_url'] && $item['author']['xchan_photo_s'])
|
||||
? '<a href="' . chanlink_url($item['author']['xchan_url']) . '">' . '<img class="dropdown-menu-img-xs" src="' . zid($item['author']['xchan_photo_s']) . '" alt="' . urlencode($name) . '" />' . $name . '</a>'
|
||||
$url = (($item['author_xchan'] && $item['author']['xchan_photo_s'])
|
||||
? '<a href="' . chanlink_hash($item['author_xchan']) . '">' . '<img class="dropdown-menu-img-xs" src="' . zid($item['author']['xchan_photo_s']) . '" alt="' . urlencode($name) . '" />' . $name . '</a>'
|
||||
: '<a href="#" class="disabled">' . $name . '</a>'
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue