mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-25 08:41:00 +00:00
IdentityIconCacheView was incorrectly looking for image_uri (#155)
This commit is contained in:
parent
f504e9c351
commit
b0a8967a03
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class IdentityIconCacheView(BaseCacheView):
|
|||
|
||||
def get_remote_url(self):
|
||||
self.identity = get_object_or_404(Identity, pk=self.kwargs["identity_id"])
|
||||
if self.identity.local or not self.identity.image_uri:
|
||||
if self.identity.local or not self.identity.icon_uri:
|
||||
raise Http404()
|
||||
return self.identity.icon_uri
|
||||
|
||||
|
|
Loading…
Reference in a new issue