FullNoticeStream selects all verbs.
This commit is contained in:
parent
2d1b70c94d
commit
46829c6d3c
11
lib/fullnoticestream.php
Normal file
11
lib/fullnoticestream.php
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
if (!defined('GNUSOCIAL')) { exit(1); }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class for notice streams that does not filter anything out.
|
||||||
|
*/
|
||||||
|
class FullNoticeStream extends NoticeStream
|
||||||
|
{
|
||||||
|
protected $selectVerbs = [];
|
||||||
|
}
|
@ -72,7 +72,7 @@ class InboxNoticeStream extends ScopingNoticeStream
|
|||||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
|
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
|
||||||
* @link http://status.net/
|
* @link http://status.net/
|
||||||
*/
|
*/
|
||||||
class RawInboxNoticeStream extends NoticeStream
|
class RawInboxNoticeStream extends FullNoticeStream
|
||||||
{
|
{
|
||||||
protected $target = null;
|
protected $target = null;
|
||||||
protected $inbox = null;
|
protected $inbox = null;
|
||||||
|
@ -23,7 +23,7 @@ class NetworkPublicNoticeStream extends ScopingNoticeStream
|
|||||||
* @link http://status.net/
|
* @link http://status.net/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class RawNetworkPublicNoticeStream extends NoticeStream
|
class RawNetworkPublicNoticeStream extends FullNoticeStream
|
||||||
{
|
{
|
||||||
function getNoticeIds($offset, $limit, $since_id, $max_id)
|
function getNoticeIds($offset, $limit, $since_id, $max_id)
|
||||||
{
|
{
|
||||||
|
@ -62,7 +62,7 @@ class PublicNoticeStream extends ScopingNoticeStream
|
|||||||
* @link http://status.net/
|
* @link http://status.net/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class RawPublicNoticeStream extends NoticeStream
|
class RawPublicNoticeStream extends FullNoticeStream
|
||||||
{
|
{
|
||||||
function getNoticeIds($offset, $limit, $since_id, $max_id)
|
function getNoticeIds($offset, $limit, $since_id, $max_id)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user