mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-09-08 19:42:23 +00:00
Use float rather than integer divisions to turn msec into sec - so timeouts under 1000msec will actually work
This commit is contained in:
parent
9c804bc3fd
commit
02ffbb20d0
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user