mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-23 05:41:13 -05:00
client: Mypy fixes.
This commit is contained in:
parent
6749a0bfd2
commit
90d887e2fa
@ -341,7 +341,7 @@ class PanClient(AsyncClient):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def decrypt_messages_body(self, body, ignore_failures=True):
|
def decrypt_messages_body(self, body, ignore_failures=True):
|
||||||
# type: (Dict[Any, Any]) -> Dict[Any, Any]
|
# type: (Dict[Any, Any], bool) -> Dict[Any, Any]
|
||||||
"""Go through a messages response and decrypt megolm encrypted events.
|
"""Go through a messages response and decrypt megolm encrypted events.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
@ -368,7 +368,7 @@ class PanClient(AsyncClient):
|
|||||||
return body
|
return body
|
||||||
|
|
||||||
def decrypt_sync_body(self, body, ignore_failures=True):
|
def decrypt_sync_body(self, body, ignore_failures=True):
|
||||||
# type: (Dict[Any, Any]) -> Dict[Any, Any]
|
# type: (Dict[Any, Any], bool) -> Dict[Any, Any]
|
||||||
"""Go through a json sync response and decrypt megolm encrypted events.
|
"""Go through a json sync response and decrypt megolm encrypted events.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
|
Loading…
Reference in New Issue
Block a user