diff options
author | Egor <egor@kislitsyn.com> | 2019-04-22 07:20:43 +0000 |
---|---|---|
committer | kaniini <nenolod@gmail.com> | 2019-04-22 07:20:43 +0000 |
commit | b9cdf6d3b9940fded7d6be9f8771fd9c211afdd4 (patch) | |
tree | 4cb4fc190215842d6a14c4a202ff2fda32cc223a /lib/pleroma/web/ostatus | |
parent | 05862ded7a156ad6db16a70ec90045a2149da97d (diff) | |
download | pleroma-b9cdf6d3b9940fded7d6be9f8771fd9c211afdd4.tar.gz |
Use `User.get_cached*` everywhere
Diffstat (limited to 'lib/pleroma/web/ostatus')
-rw-r--r-- | lib/pleroma/web/ostatus/ostatus.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/ostatus/ostatus.ex b/lib/pleroma/web/ostatus/ostatus.ex index 9a34d7ad5..4744c6d83 100644 --- a/lib/pleroma/web/ostatus/ostatus.ex +++ b/lib/pleroma/web/ostatus/ostatus.ex @@ -294,7 +294,7 @@ defmodule Pleroma.Web.OStatus do } with false <- update, - %User{} = user <- User.get_by_ap_id(data.ap_id) do + %User{} = user <- User.get_cached_by_ap_id(data.ap_id) do {:ok, user} else _e -> User.insert_or_update_user(data) |