Use the correct property name for typing duration

This commit is contained in:
Cadence Ember 2023-10-01 02:06:56 +13:00
parent 95e7987fee
commit d5013dd7ea

View file

@ -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
})
}