summary refs log tree commit diff
path: root/synapse/events/utils.py
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2022-04-21 02:38:07 -0500
committerEric Eastwood <erice@element.io>2022-04-21 02:38:07 -0500
commit2a9428b7505d987d09e196e9e986fac177f8090b (patch)
tree5e3d661bb3e1cbbb8ef799f77ea2c814e16f119b /synapse/events/utils.py
parentNest under MSC3244 room_capabilities field (diff)
downloadsynapse-madlittlemods/msc2716-room-capabilities.tar.xz
Diffstat (limited to 'synapse/events/utils.py')
-rw-r--r--synapse/events/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/events/utils.py b/synapse/events/utils.py
index 331e00632b..0b839e2b22 100644
--- a/synapse/events/utils.py
+++ b/synapse/events/utils.py
@@ -49,7 +49,7 @@ if TYPE_CHECKING:
 #       the literal fields "foo\" and "bar" but will instead be treated as "foo\\.bar"
 SPLIT_FIELD_REGEX = re.compile(r"(?<!\\)\.")
 
-CANONICALJSON_MAX_INT = (2 ** 53) - 1
+CANONICALJSON_MAX_INT = (2**53) - 1
 CANONICALJSON_MIN_INT = -CANONICALJSON_MAX_INT