Skip to content
Snippets Groups Projects
Commit 02ffbb20 authored by Paul "LeoNerd" Evans's avatar Paul "LeoNerd" Evans
Browse files

Use float rather than integer divisions to turn msec into sec - so timeouts...

Use float rather than integer divisions to turn msec into sec - so timeouts under 1000msec will actually work
parent 9c804bc3
No related merge requests found
......@@ -91,7 +91,7 @@ class TypingNotificationHandler(BaseHandler):
self._member_typing_until[member] = until
self._member_typing_timer[member] = self.clock.call_later(
timeout / 1000, _cb
timeout / 1000.0, _cb
)
if was_present:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment