]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Link source==share notices
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 13 Oct 2015 23:30:29 +0000 (01:30 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 13 Oct 2015 23:30:29 +0000 (01:30 +0200)
lib/noticelistitem.php
plugins/OStatus/OStatusPlugin.php

index 130821de15585df1d60e073e04a0ea8afd469f90..3a3890b75f56b8900882ea0db1df021926b9d50f 100644 (file)
@@ -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');
index 86befd58cd54278c768caf9a5f65ee483585e3c3..5a871f322b1ac27cdb5b9beb722f7397e0b1e627 100644 (file)
@@ -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;
         }