From: Mikael Nordfeldth Date: Tue, 13 Oct 2015 23:30:29 +0000 (+0200) Subject: Link source==share notices X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2c8536dbf0ef8955987138a4c108bd83cd2ca0a2;p=quix0rs-gnu-social.git Link source==share notices --- diff --git a/lib/noticelistitem.php b/lib/noticelistitem.php index 130821de15..3a3890b75f 100644 --- a/lib/noticelistitem.php +++ b/lib/noticelistitem.php @@ -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'); diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index 86befd58cd..5a871f322b 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -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; }