Merge branch 'feature/matstodon-statuses-by-name' into 'develop'
Feature/matstodon statuses by name See merge request pleroma/pleroma!1211
This commit is contained in:
commit
93df0796f0
3 changed files with 6 additions and 2 deletions
|
|
@ -440,7 +440,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
|
|||
end
|
||||
|
||||
def user_statuses(%{assigns: %{user: reading_user}} = conn, params) do
|
||||
with %User{} = user <- User.get_cached_by_id(params["id"]) do
|
||||
with %User{} = user <- User.get_cached_by_nickname_or_id(params["id"]) do
|
||||
params =
|
||||
params
|
||||
|> Map.put("tag", params["tagged"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue