X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Flist.ex;h=a5b1cad680ddf20dc3eb23e5981917cfa765a840;hb=db75288b71e7531f8e5033f56fc0b9a7d1d8efb3;hp=110be8355985f2d628160bd36ce43114765620ca;hpb=091baf93169895c62418ccee81b80d00416aaa56;p=akkoma diff --git a/lib/pleroma/list.ex b/lib/pleroma/list.ex index 110be8355..a5b1cad68 100644 --- a/lib/pleroma/list.ex +++ b/lib/pleroma/list.ex @@ -80,7 +80,7 @@ defmodule Pleroma.List do # Get lists to which the account belongs. def get_lists_account_belongs(%User{} = owner, account_id) do - user = User.get_by_id(account_id) + user = User.get_cached_by_id(account_id) query = from(