diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-13 11:29:37 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-13 11:30:15 +0000 |
commit | 28eba8747eb0a5f88f7bb96b93ef43c12d53b9de (patch) | |
tree | ab19276f5d3334627f606019d165807396b107d1 /synapse/handlers/room.py | |
parent | Dinsic Blacking with black==18.6b2 (diff) | |
parent | Run Black. (#5482) (diff) | |
download | synapse-28eba8747eb0a5f88f7bb96b93ef43c12d53b9de.tar.xz |
Run Black. (#5482)
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r-- | synapse/handlers/room.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index 2ae9f93e97..cd1bd71bf8 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -813,7 +813,7 @@ class RoomContextHandler(object): Returns: dict, or None if the event isn't found """ - before_limit = math.floor(limit / 2.) + before_limit = math.floor(limit / 2.0) after_limit = limit - before_limit users = yield self.store.get_users_in_room(room_id) |