From 9fb18ac841bf04a853201ee8ceee8ec703512738 Mon Sep 17 00:00:00 2001 From: Michael Manfre Date: Fri, 23 Dec 2022 23:57:50 -0500 Subject: [PATCH] Identity background images can be relative (#250) --- users/models/identity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/models/identity.py b/users/models/identity.py index 3c8286b..339fd71 100644 --- a/users/models/identity.py +++ b/users/models/identity.py @@ -278,7 +278,7 @@ class Identity(StatorModel): Returns a background image for us, returning None if there isn't one """ if self.image: - return RelativeAbsoluteUrl(self.image.url) + return AutoAbsoluteUrl(self.image.url) elif self.image_uri: return AutoAbsoluteUrl(f"/proxy/identity_image/{self.pk}/") return None