summary refs log tree commit diff
path: root/synapse/rest/client/relations.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-01-06 13:08:48 -0500
committerGitHub <noreply@github.com>2022-01-06 18:08:48 +0000
commit201c48c8de35547c5e13b28a2616a8b7f880bad6 (patch)
tree7d86a01b9749486530840ce55c6a1024fb235d6a /synapse/rest/client/relations.py
parentStrip unauthorized fields from `unsigned` object in events received over fede... (diff)
downloadsynapse-201c48c8de35547c5e13b28a2616a8b7f880bad6.tar.xz
Remove a Python 2-ism and improve type hints. (#11699)
On Python 2, indexing a byte-string gives back a byte-string,
while on Python 3 it gives back the ASCII equivalent as an int.
Diffstat (limited to 'synapse/rest/client/relations.py')
0 files changed, 0 insertions, 0 deletions