refactor(matrix): use milliseconds for typing timing constants

This commit is contained in:
Alexander Minges committed 2026-02-21 20:45:09 +01:00
1 parent de5104ab2a
commit 494fa8966a
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -332,7 +332,7 @@ async def test_typing_keepalive_refreshes_periodically(monkeypatch) -> None:
channel.client = client
channel._running = True
monkeypatch.setattr(matrix_module, "TYPING_KEEPALIVE_INTERVAL_SECONDS", 0.01)
monkeypatch.setattr(matrix_module, "TYPING_KEEPALIVE_INTERVAL_MS", 10)
await channel._start_typing_keepalive("!room:matrix.org")
await asyncio.sleep(0.03)