kopia lustrzana https://github.com/jointakahe/takahe
block should unfollow on both direction
rodzic
62c1aa16b2
commit
a35e887b59
|
@ -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(
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue