Merge branch 'set-cache-on-user-tag-update' into 'develop'

Update user cache when user tags are updated

See merge request pleroma/pleroma!840
This commit is contained in:
lambda 2019-02-19 14:20:58 +00:00
commit 1dd718e83c

View File

@ -1201,7 +1201,7 @@ defmodule Pleroma.User do
{:ok, updated_user} = {:ok, updated_user} =
user user
|> change(%{tags: new_tags}) |> change(%{tags: new_tags})
|> Repo.update() |> update_and_set_cache()
updated_user updated_user
end end