Revert "FullNoticeStream selects all verbs"
It appears this was added to display "tombstones" of deleted notices. However, it has other side-effects and the concept of keeping them visible has not been adopted by the wider fediverse.
This commit is contained in:
parent
9a515b9234
commit
78a111b57d
|
@ -1,11 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
if (!defined('GNUSOCIAL')) { exit(1); }
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Class for notice streams that does not filter anything out.
|
|
||||||
*/
|
|
||||||
abstract class FullNoticeStream extends NoticeStream
|
|
||||||
{
|
|
||||||
protected $selectVerbs = [];
|
|
||||||
}
|
|
|
@ -58,7 +58,7 @@ class InboxNoticeStream extends ScopingNoticeStream
|
||||||
* @copyright 2014 Free Software Foundation, Inc http://www.fsf.org
|
* @copyright 2014 Free Software Foundation, Inc http://www.fsf.org
|
||||||
* @license https://www.gnu.org/licenses/agpl.html GNU AGPL v3 or later
|
* @license https://www.gnu.org/licenses/agpl.html GNU AGPL v3 or later
|
||||||
*/
|
*/
|
||||||
class RawInboxNoticeStream extends FullNoticeStream
|
class RawInboxNoticeStream extends NoticeStream
|
||||||
{
|
{
|
||||||
protected $target = null;
|
protected $target = null;
|
||||||
protected $inbox = null;
|
protected $inbox = null;
|
||||||
|
|
|
@ -46,7 +46,7 @@ class NetworkPublicNoticeStream extends ModeratedNoticeStream
|
||||||
* @copyright 2011 StatusNet, Inc.
|
* @copyright 2011 StatusNet, Inc.
|
||||||
* @license https://www.gnu.org/licenses/agpl.html GNU AGPL v3 or later
|
* @license https://www.gnu.org/licenses/agpl.html GNU AGPL v3 or later
|
||||||
*/
|
*/
|
||||||
class RawNetworkPublicNoticeStream extends FullNoticeStream
|
class RawNetworkPublicNoticeStream extends NoticeStream
|
||||||
{
|
{
|
||||||
public function getNoticeIds($offset, $limit, $since_id, $max_id)
|
public function getNoticeIds($offset, $limit, $since_id, $max_id)
|
||||||
{
|
{
|
||||||
|
|
|
@ -60,7 +60,7 @@ class PublicNoticeStream extends ModeratedNoticeStream
|
||||||
* @license https://www.gnu.org/licenses/agpl.html GNU AGPL v3 or later
|
* @license https://www.gnu.org/licenses/agpl.html GNU AGPL v3 or later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class RawPublicNoticeStream extends FullNoticeStream
|
class RawPublicNoticeStream extends NoticeStream
|
||||||
{
|
{
|
||||||
public function getNoticeIds($offset, $limit, $since_id, $max_id)
|
public function getNoticeIds($offset, $limit, $since_id, $max_id)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user