]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Show shares in public timeline
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 14 Feb 2016 19:53:26 +0000 (20:53 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 14 Feb 2016 19:53:26 +0000 (20:53 +0100)
Also, the unselect rule for DELETE was useless anyway since it would
already have been filtered out by not having true.

(the => false stuff are for when you want ALL _except_ that)

lib/noticestream.php

index 02b2a2da8642d2e97d3de27e4534474b6ed564f9..2b04a89ca4297c4ba905634af275f2f4ec188626 100644 (file)
@@ -43,7 +43,7 @@ if (!defined('GNUSOCIAL')) { exit(1); }
 abstract class NoticeStream
 {
     protected $selectVerbs   = array(ActivityVerb::POST => true,
-                                     ActivityVerb::DELETE => false);
+                                     ActivityVerb::SHARE => true);
 
     public function __construct()
     {