mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-02 20:59:12 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ class TypingNotificationHandler(BaseHandler):
|
||||||
|
|
||||||
self._member_typing_until[member] = until
|
self._member_typing_until[member] = until
|
||||||
self._member_typing_timer[member] = self.clock.call_later(
|
self._member_typing_timer[member] = self.clock.call_later(
|
||||||
timeout / 1000, _cb
|
timeout / 1000.0, _cb
|
||||||
)
|
)
|
||||||
|
|
||||||
if was_present:
|
if was_present:
|
||||||
|
|
Loading…
Reference in a new issue