From: William Pitcock Date: Thu, 1 Nov 2018 07:52:58 +0000 (+0000) Subject: user: delete user_info data in User.invalidate_cache() X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=2c3bfd7f76c2154ada70f1167023752e06ee595f;p=akkoma user: delete user_info data in User.invalidate_cache() --- diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index bb5b91c61..f724f8a5b 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -295,6 +295,7 @@ defmodule Pleroma.User do def invalidate_cache(user) do Cachex.del(:user_cache, "ap_id:#{user.ap_id}") Cachex.del(:user_cache, "nickname:#{user.nickname}") + Cachex.del(:user_cache, "user_info:#{user.id}") end def get_cached_by_ap_id(ap_id) do