block should unfollow on both direction

pull/625/head
D 2023-08-04 23:57:50 +00:00 zatwierdzone przez Henri Dickson
rodzic 62c1aa16b2
commit a35e887b59
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -136,6 +136,7 @@ class IdentityService:
if target_identity == self.identity:
raise ValueError("You cannot block yourself")
self.unfollow(target_identity)
self.reject_follow_request(target_identity)
block = Block.create_local_block(self.identity, target_identity)
InboxMessage.create_internal(
{