Local changes

This commit is contained in:
Matrix 2017-02-24 16:01:57 +00:00
parent cff886c47b
commit 8d910ff5b9
7 changed files with 16 additions and 7 deletions

View file

@ -218,7 +218,8 @@ class EmailPusher(object):
)
def seconds_until(self, ts_msec):
return (ts_msec - self.clock.time_msec()) / 1000
secs = (ts_msec - self.clock.time_msec()) / 1000
return max(secs, 0) # Ensure non-negative
def get_room_throttle_ms(self, room_id):
if room_id in self.throttle_params: