diff options
author | Eric Eastwood <erice@element.io> | 2022-04-21 02:38:07 -0500 |
---|---|---|
committer | Eric Eastwood <erice@element.io> | 2022-04-21 02:38:07 -0500 |
commit | 2a9428b7505d987d09e196e9e986fac177f8090b (patch) | |
tree | 5e3d661bb3e1cbbb8ef799f77ea2c814e16f119b /synapse/events/utils.py | |
parent | Nest under MSC3244 room_capabilities field (diff) | |
download | synapse-madlittlemods/msc2716-room-capabilities.tar.xz |
Remove formatting changes github/madlittlemods/msc2716-room-capabilities madlittlemods/msc2716-room-capabilities
Diffstat (limited to 'synapse/events/utils.py')
-rw-r--r-- | synapse/events/utils.py | 2 |
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 |