diff --git a/compose.yml b/compose.yml index 63108ea7..621710fb 100644 --- a/compose.yml +++ b/compose.yml @@ -68,7 +68,6 @@ x-shared: TAKAHE_MEDIA_BACKEND: local://www/media/ TAKAHE_MEDIA_ROOT: /www/media TAKAHE_USE_PROXY_HEADERS: true - TAKAHE_ALLOW_USER_MIGRATION: true TAKAHE_STATOR_CONCURRENCY: ${TAKAHE_STATOR_CONCURRENCY:-4} TAKAHE_STATOR_CONCURRENCY_PER_MODEL: ${TAKAHE_STATOR_CONCURRENCY_PER_MODEL:-2} TAKAHE_VAPID_PUBLIC_KEY: diff --git a/neodb-takahe b/neodb-takahe index b889e732..5c09b76a 160000 --- a/neodb-takahe +++ b/neodb-takahe @@ -1 +1 @@ -Subproject commit b889e7322fcb3021e660e3ce8b7c2290273f161a +Subproject commit 5c09b76a4a8ce8bf588a396bf89709785ebcaf6f diff --git a/users/management/commands/user.py b/users/management/commands/user.py index 8ccfc16d..850d2699 100644 --- a/users/management/commands/user.py +++ b/users/management/commands/user.py @@ -107,7 +107,7 @@ class Command(BaseCommand): self.stdout.write("Checking remote identities") for i in tqdm( Identity.objects.filter( - public_key__isnull=True, + # public_key__isnull=True, local=False, restriction=0, state="connection_issue", diff --git a/users/models/apidentity.py b/users/models/apidentity.py index 6a9a3799..ea660b15 100644 --- a/users/models/apidentity.py +++ b/users/models/apidentity.py @@ -111,7 +111,7 @@ class APIdentity(models.Model): @property def restricted(self): - return self.takahe_identity.restriction != 2 + return self.takahe_identity.restriction == 2 @property def following(self):