Link source==share notices

This commit is contained in:
Mikael Nordfeldth 2015-10-14 01:30:29 +02:00
parent 401b774c2f
commit 2c8536dbf0
2 changed files with 1 additions and 2 deletions

View File

@ -351,7 +351,6 @@ class NoticeListItem extends Widget
'href' => Conversation::getUrlFromNotice($this->notice))); 'href' => Conversation::getUrlFromNotice($this->notice)));
$this->out->element('time', array('class' => 'dt-published', $this->out->element('time', array('class' => 'dt-published',
'datetime' => common_date_iso8601($this->notice->created), 'datetime' => common_date_iso8601($this->notice->created),
// TRANS: Timestamp title (tooltip text) for NoticeListItem
'title' => common_exact_date($this->notice->created)), 'title' => common_exact_date($this->notice->created)),
common_date_string($this->notice->created)); common_date_string($this->notice->created));
$this->out->elementEnd('a'); $this->out->elementEnd('a');

View File

@ -469,7 +469,7 @@ class OStatusPlugin extends Plugin
function onStartNoticeSourceLink($notice, &$name, &$url, &$title) function onStartNoticeSourceLink($notice, &$name, &$url, &$title)
{ {
// If we don't handle this, keep the event handler going // 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; return true;
} }