mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:55:19 +00:00
use received date
This commit is contained in:
parent
4aa9f50444
commit
078823f6a4
1 changed files with 2 additions and 2 deletions
|
@ -961,8 +961,8 @@ function builtin_activity_puller($item, &$conv_responses)
|
||||||
if ((activity_match($item['verb'], $verb)) && ($item['id'] != $item['parent'])) {
|
if ((activity_match($item['verb'], $verb)) && ($item['id'] != $item['parent'])) {
|
||||||
$name = (($item['author']['xchan_name']) ? $item['author']['xchan_name'] : t('Unknown'));
|
$name = (($item['author']['xchan_name']) ? $item['author']['xchan_name'] : t('Unknown'));
|
||||||
$url = (($item['author_xchan'] && $item['author']['xchan_photo_s'])
|
$url = (($item['author_xchan'] && $item['author']['xchan_photo_s'])
|
||||||
? '<a class="dropdown-item" href="' . chanlink_hash($item['author_xchan']) . '">' . '<img class="menu-img-1" src="' . zid($item['author']['xchan_photo_s']) . '" alt="' . urlencode($name) . '" /> ' . $name . ' (' . relative_date($item['created']) .')</a>'
|
? '<a class="dropdown-item" href="' . chanlink_hash($item['author_xchan']) . '">' . '<img class="menu-img-1" src="' . zid($item['author']['xchan_photo_s']) . '" alt="' . urlencode($name) . '" /> ' . $name . ' (' . relative_date($item['received']) .')</a>'
|
||||||
: '<a class="dropdown-item" href="#" class="disabled">' . $name . ' (' . relative_date($item['created']) . ')</a>'
|
: '<a class="dropdown-item" href="#" class="disabled">' . $name . ' (' . relative_date($item['received']) . ')</a>'
|
||||||
);
|
);
|
||||||
|
|
||||||
if (! $item['thr_parent']) {
|
if (! $item['thr_parent']) {
|
||||||
|
|
Loading…
Reference in a new issue