kopia lustrzana https://github.com/jointakahe/takahe
Skip syncing pinned items when the identity's domain is blocked
rodzic
5297b98273
commit
7b2512bbd3
|
@ -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():
|
||||
|
|
Ładowanie…
Reference in New Issue