Skip syncing pinned items when the identity's domain is blocked

pull/580/head
Christof Dorner 2023-05-15 18:08:14 +02:00
rodzic 5297b98273
commit 7b2512bbd3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -185,7 +185,7 @@ class IdentityService:
}
def sync_pins(self, object_uris):
if not object_uris:
if not object_uris or self.identity.domain.blocked:
return
with transaction.atomic():