projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a39a094
)
Update user cache when user tags are updated
author
eugenijm
<eugenijm@protonmail.com>
Tue, 19 Feb 2019 07:43:37 +0000
(10:43 +0300)
committer
eugenijm
<eugenijm@protonmail.com>
Tue, 19 Feb 2019 07:43:38 +0000
(10:43 +0300)
lib/pleroma/user.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/user.ex
b/lib/pleroma/user.ex
index ff84e7b0ab63cf8956b18689cd665fbe353e8fb8..322c338cdddad2a3233684e63506f058cff1ca53 100644
(file)
--- a/
lib/pleroma/user.ex
+++ b/
lib/pleroma/user.ex
@@
-1200,7
+1200,7
@@
defmodule Pleroma.User do
{:ok, updated_user} =
user
|> change(%{tags: new_tags})
- |>
Repo.updat
e()
+ |>
update_and_set_cach
e()
updated_user
end