IdentityIconCacheView was incorrectly looking for image_uri (#155)
This commit is contained in:
parent
f504e9c351
commit
b0a8967a03
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user