Link source==share notices
This commit is contained in:
parent
401b774c2f
commit
2c8536dbf0
@ -351,7 +351,6 @@ class NoticeListItem extends Widget
|
||||
'href' => Conversation::getUrlFromNotice($this->notice)));
|
||||
$this->out->element('time', array('class' => 'dt-published',
|
||||
'datetime' => common_date_iso8601($this->notice->created),
|
||||
// TRANS: Timestamp title (tooltip text) for NoticeListItem
|
||||
'title' => common_exact_date($this->notice->created)),
|
||||
common_date_string($this->notice->created));
|
||||
$this->out->elementEnd('a');
|
||||
|
@ -469,7 +469,7 @@ class OStatusPlugin extends Plugin
|
||||
function onStartNoticeSourceLink($notice, &$name, &$url, &$title)
|
||||
{
|
||||
// If we don't handle this, keep the event handler going
|
||||
if ($notice->source != 'ostatus') {
|
||||
if (!in_array($notice->source, array('ostatus', 'share'))) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user