1
0
Fork 0

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) { async function sendTyping(roomID, isTyping, mxid, duration) {
await mreq.mreq("PUT", path(`/client/v3/rooms/${roomID}/typing/${mxid}`, mxid), { await mreq.mreq("PUT", path(`/client/v3/rooms/${roomID}/typing/${mxid}`, mxid), {
typing: isTyping, typing: isTyping,
duration timeout: duration
}) })
} }