From d5013dd7ea422a61805d1dea50b9f0564d17d318 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Sun, 1 Oct 2023 02:06:56 +1300 Subject: [PATCH] Use the correct property name for typing duration --- matrix/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix/api.js b/matrix/api.js index 032e702..969ee06 100644 --- a/matrix/api.js +++ b/matrix/api.js @@ -175,7 +175,7 @@ async function redactEvent(roomID, eventID, mxid) { async function sendTyping(roomID, isTyping, mxid, duration) { await mreq.mreq("PUT", path(`/client/v3/rooms/${roomID}/typing/${mxid}`, mxid), { typing: isTyping, - duration + timeout: duration }) }