mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
Fix tiny typo: contact -> contacts
This commit is contained in:
parent
3a0d67bf0a
commit
6a62d1b8c4
2 changed files with 2 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ class BlockUser(BaseClient):
|
|||
"""
|
||||
return bool(
|
||||
self.send(
|
||||
functions.contact.Block(
|
||||
functions.contacts.Block(
|
||||
id=self.resolve_peer(user_id)
|
||||
)
|
||||
)
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ class UnblockUser(BaseClient):
|
|||
"""
|
||||
return bool(
|
||||
self.send(
|
||||
functions.contact.Unblock(
|
||||
functions.contacts.Unblock(
|
||||
id=self.resolve_peer(user_id)
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue