mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 15:34:52 +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(
|
return bool(
|
||||||
self.send(
|
self.send(
|
||||||
functions.contact.Block(
|
functions.contacts.Block(
|
||||||
id=self.resolve_peer(user_id)
|
id=self.resolve_peer(user_id)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ class UnblockUser(BaseClient):
|
||||||
"""
|
"""
|
||||||
return bool(
|
return bool(
|
||||||
self.send(
|
self.send(
|
||||||
functions.contact.Unblock(
|
functions.contacts.Unblock(
|
||||||
id=self.resolve_peer(user_id)
|
id=self.resolve_peer(user_id)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue