summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-22 19:40:59 -0700
committerAndrew Godwin2022-11-22 19:40:59 -0700
commitdb0edcd2ae7ad3d191974a47b8c0da8c3fc31e80 (patch)
tree4ebbfb6fbc16d5eee440ac60ba128fc992f77ef7
parentfa771271f572c0234d329b9fd9bdf3fa63baba72 (diff)
downloadtakahe-db0edcd2ae7ad3d191974a47b8c0da8c3fc31e80.tar.gz
takahe-db0edcd2ae7ad3d191974a47b8c0da8c3fc31e80.tar.bz2
takahe-db0edcd2ae7ad3d191974a47b8c0da8c3fc31e80.zip
Say all our users are discoverable for now
-rw-r--r--users/models/identity.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/models/identity.py b/users/models/identity.py
index 7d3d7d5..cfa8c2c 100644
--- a/users/models/identity.py
+++ b/users/models/identity.py
@@ -239,6 +239,7 @@ class Identity(StatorModel):
},
"published": self.created.strftime("%Y-%m-%dT%H:%M:%SZ"),
"url": self.absolute_profile_uri(),
+ "discoverable": True,
}
if self.name:
response["name"] = self.name