Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gnu-social
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
194
Issues
194
List
Boards
Labels
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gnu.io
gnu-social
Commits
d4400007
Commit
d4400007
authored
May 30, 2011
by
Evan Prodromou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use ReplyNoticeStream for mentions API
parent
5a9d969f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
actions/apitimelinementions.php
actions/apitimelinementions.php
+7
-4
No files found.
actions/apitimelinementions.php
View file @
d4400007
...
...
@@ -193,10 +193,13 @@ class ApiTimelineMentionsAction extends ApiBareAuthAction
{
$notices
=
array
();
$notice
=
$this
->
user
->
getReplies
(
(
$this
->
page
-
1
)
*
$this
->
count
,
$this
->
count
,
$this
->
since_id
,
$this
->
max_id
);
$stream
=
new
ReplyNoticeStream
(
$this
->
user
->
id
,
Profile
::
current
());
$notice
=
$stream
->
getNotices
((
$this
->
page
-
1
)
*
$this
->
count
,
$this
->
count
,
$this
->
since_id
,
$this
->
max_id
);
while
(
$notice
->
fetch
())
{
$notices
[]
=
clone
(
$notice
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment