Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
d64c3b60
Commit
d64c3b60
authored
May 07, 2019
by
kaniini
Browse files
twitterapi: use order constraint to force descending order
parent
6020ff3f
Pipeline
#11497
passed with stages
in 4 minutes and 1 second
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
lib/pleroma/web/twitter_api/twitter_api_controller.ex
View file @
d64c3b60
...
...
@@ -182,6 +182,7 @@ def dm_timeline(%{assigns: %{user: user}} = conn, params) do
|>
Map
.
put
(
"blocking_user"
,
user
)
|>
Map
.
put
(
"user"
,
user
)
|>
Map
.
put
(
:visibility
,
"direct"
)
|>
Map
.
put
(
:order
,
:desc
)
activities
=
ActivityPub
.
fetch_activities_query
([
user
.
ap_id
],
params
)
...
...
Write
Preview
Supports
Markdown
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