summary refs log tree commit diff
path: root/synapse/handlers/presence.py
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-01-10 13:40:46 +0000
committerGitHub <noreply@github.com>2022-01-10 13:40:46 +0000
commitc43dd4d01b2344014004dff3834a86cd59e85adc (patch)
tree7fe46219299fc0366b073fa51a1ed5693484e4c5 /synapse/handlers/presence.py
parentPrettier complement logs (#11707) (diff)
downloadsynapse-c43dd4d01b2344014004dff3834a86cd59e85adc.tar.xz
Deal with mypy errors w/ type-hinted pynacl 1.5.0 (#11714)
* Deal with mypy errors w/ type-hinted pynacl 1.5.0

Fixes #11644.

I really don't like that we're monkey patching pynacl SignedKey
instances with alg and version objects. But I'm too scared to make the
changes necessary right now.

(Ideally I would replace `signedjson.types.SingingKey` with a runtime class which
wraps or inherits from `nacl.signing.SigningKey`.) C.f. https://github.com/matrix-org/python-signedjson/issues/16
Diffstat (limited to 'synapse/handlers/presence.py')
0 files changed, 0 insertions, 0 deletions